Commit 444750bb authored by Clément Stenac's avatar Clément Stenac

Test branch

parent e3af820a
Redirect /mirror.html http://www.videolan.org/mirror.php
Redirect /vlc/download-skins2.html http://www.videolan.org/vlc/download-skins2.php
Redirect /vlc/download-mandrake.html http://www.videolan.org/vlc/download-mandriva.php
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
Redirect /cgi-bin http://developers.videolan.org/cgi-bin
RewriteEngine on
RewriteRule \.svn /404.html [L]
#
# Redirects for moved pages
#
RewriteRule ^contact.htm$ /team/index.html [R=permanent,L]
RewriteRule ^vlcs(.*)$ /network$1 [R=permanent,L]
RewriteRule ^packages(.*)$ /pub/vlc$1 [R=permanent,L]
RewriteRule ^screenshots(.*)$ /vlc/screenshots$1 [R=permanent,L]
RewriteRule ^team.html$ /team/index.html [R=permanent,L]
RewriteRule ^lists.html$ /support/lists.html [R=permanent,L]
RewriteRule ^intro.html$ /streaming/index.html [R=permanent,L]
RewriteRule ^irc(.*)$ /support/index.html [R=permanent,L]
RewriteRule ^support/irc(.*)$ /support/index.html [R=permanent,L]
RewriteRule ^download.html$ /vlc/index.html [R=permanent,L]
RewriteRule ^vlc/doc.html$ /vlc/index.html [R=permanent,L]
RewriteRule ^vlc/download.html$ /vlc/index.html [R=permanent,L]
RewriteRule ^vlc/beos.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/bsd.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/bug-reporting.html$ /support/bug-reporting.html [R=permanent,L]
RewriteRule ^vlc/familiar.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/download-source.html$ /vlc/download-sources.html [R=permanent,L]
RewriteRule ^vlc/download-unix.html$ /vlc/download-sources.html [R=permanent,L]
RewriteRule ^vlc/download-linux.html$ /vlc/index.html [R=permanent,L]
RewriteRule ^vlc/linux.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/macosx.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/qnx.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/solaris.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/todo.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/windows.html$ /vlc/features.html [R=permanent,L]
RewriteRule ^vlc/doc/vlc-howto.html$ /doc/vlc-user-guide/ [R=permanent,L]
RewriteRule ^vls/sat/index.html$ /streaming/index.html [R=permanent,L]
RewriteRule ^vls/download.html$ /streaming/index.html [R=permanent,L]
RewriteRule ^vls/$ /streaming/index.html [R=permanent,L]
RewriteRule ^vls/doc.html$ /streaming/index.html [R=permanent,L]
RewriteRule ^vls/doc/(.*)$ /doc/vls-old/doc/$1 [R=permanent,L]
RewriteRule ^streaming/download.html$ /streaming/index.html [R=permanent,L]
RewriteRule ^streaming/download-linux.html$ /streaming/download-vls-sources.html [R=permanent,L]
RewriteRule ^streaming/download-windows.html$ /streaming/download-vls-windows.html [R=permanent,L]
RewriteRule ^tests/(.*)$ /rez/ [R=permanent,L]
RewriteRule ^doc/faq-vlc/faq/(.*)$ /doc/faq/ [R=permanent,L]
RewriteRule ^doc/faq/videolan-faq.html$ /doc/faq/ [R=permanent,L]
RewriteRule ^dtsdec.html /libdca.html [R=permanent]
#
# Redirects for removed stuff
#
RewriteRule ^vlc/dx7headers.tgz http://download.videolan.org/pub/videolan/testing/contrib/win32-dx7headers.tgz [R=permanent,L]
RewriteRule ^vlc/(.*).tgz$ /removed/$1.tgz [R=permanent,L]
RewriteRule ^vlc/(.*).bz2$ /removed/$1.bz2 [R=permanent,L]
RewriteRule ^freedvd.html$ /removed/freedvd.html [R=permanent,L]
#
# We get many 404 for this one
#
Redirect permanent debian/ http://www.videolan.org
#
# Redirects for doc
#
# New directory structure
Redirect permanent /doc/videolan-howto/videolan-howto-en.html http://www.videolan.org/doc/videolan-howto/en/videolan-howto-en.html
Redirect permanent /doc/vlc-user-guide/vlc-user-guide-en.html http://www.videolan.org/doc/vlc-user-guide/en/vlc-user-guide-en.html
Redirect permanent /doc/vls-user-guide/vls-user-guide-en.html http://www.videolan.org/doc/vls-user-guide/en/vls-user-guide-en.html
Redirect permanent /doc/faq/index.html http://www.videolan.org/doc/faq/en/videolan-faq-en.html
Redirect permanent /doc/videolan-howto/index.html http://www.videolan.org/doc/videolan-howto/en/videolan-howto-en.html
Redirect permanent /doc/vlc-user-guide/index.html http://www.videolan.org/doc/vlc-user-guide/en/vlc-user-guide-en.html
Redirect permanent /doc/vls-user-guide/index.html http://www.videolan.org/doc/vls-user-guide/en/vls-user-guide-en.html
Redirect permanent /doc/faq/videolan-faq-en.html http://www.videolan.org/doc/faq/en/videolan-faq-en.html
Redirect permanent /doc/faq/videolan-faq-fr.html http://www.videolan.org/doc/faq/en/videolan-faq-fr.html
Redirect permanent /doc/faq/videolan-faq-es.html http://www.videolan.org/doc/faq/en/videolan-faq-es.html
#
# The VideoLAN quickstart does not exist anymore
#
Redirect permanent /doc/videolan-quickstart http://www.videolan.org/doc/
Redirect permanent /doc/en/videolan-quickstart-en.html http://www.videolan.org/doc/
Redirect permanent /doc/fr/videolan-quickstart-fr.html http://www.videolan.org/doc/
#
# Some dumb people link to us with doc//$LANG/document
#
Redirect permanent /doc/fr/vlc-user-guide http://www.videolan.org/doc/vlc-user-guide/fr
Redirect permanent /doc/fr/videolan-howto http://www.videolan.org/doc/videolan-howto/fr
Redirect permanent /doc/fr/vls-user-guide http://www.videolan.org/doc/vls-user-guide/fr
Redirect permanent /doc/en/vlc-user-guide http://www.videolan.org/doc/vlc-user-guide/en
Redirect permanent /doc/en/videolan-howto http://www.videolan.org/doc/videolan-howto/en
Redirect permanent /doc/en/vls-user-guide http://www.videolan.org/doc/vls-user-guide/en
#
# Redirects for stuff moved to developers site
#
Redirect permanent /x264.html http://developers.videolan.org/x264.html
Redirect permanent /libdca.html http://developers.videolan.org/libdca.html
RewriteRule ^vlc/changelog.html http://developers.videolan.org/vlc/ChangeLog [R=permanent,L]
RewriteRule ^vls/changelog.html http://developers.videolan.org/vls/ChangeLog [R=permanent,L]
RewriteRule ^cvs.html http://developers.videolan.org/cvs.html [R=permanent,L]
RewriteRule ^vlc/developers.html http://developers.videolan.org/vlc/devel_doc.html [R=permanent,L]
RewriteRule ^vls/developers.html http://developers.videolan.org/vls/devel_doc.html [R=permanent,L]
RewriteRule ^libdvdcss/download.html http://developers.videolan.org/pub/videolan/libdvdcss/ [R=permanent,L]
RewriteRule ^libdvdcss.* http://developers.videolan.org/libdvdcss/index.html [R=permanent,L]
RewriteRule ^libdvbpsi/download.html http://developers.videolan.org/pub/videolan/libdvbpsi/ [R=permanent,L]
RewriteRule ^libdvbpsi.* http://developers.videolan.org/libdvbpsi/index.html [R=permanent,L]
RewriteRule ^libdvdplay/download.html http://developers.videolan.org/pub/videolan/libdvdplay/ [R=permanent,L]
RewriteRule ^libdvdplay.* http://developers.videolan.org/libdvdplay/index.html [R=permanent,L]
Redirect permanent /developers http://developers.videolan.org
Redirect permanent /cvs http://developers.videolan.org/cvs.html
#
# Redirects for moved stuff -- fallbacks
#
RewriteRule ^vls/(.*)$ /streaming/index.html [R=permanent,L]
RewriteRule ^vls(.*)$ /streaming/index.html [R=permanent,L]
RewriteRule ^vlms/(.*)$ /streaming/index.html [R=permanent,L]
RewriteRule ^network/(.*)$ /streaming/index.html [R=permanent,L]
#
# MIME Types
AddType application/octet-stream .dmg
AddType application/octet-stream .rpm
AddType application/octet-stream .ipk
AddType application/octet-stream .vlt
<?php
$title = "403 forbidden";
$menu = array( "home", "" );
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php3");
?>
<h1 class="error">403 error: forbidden</h1>
<p>Nice try :-)</p>
<?php footer('$Id$'); ?>
<?php
$title = "404 not found";
$menu = array( "home", "" );
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php3");
?>
<h1 class="error">404 error: page not found</h1>
<p>Please check your links, or contact <a
href="mailto:webmaster@videolan.org">the VideoLAN team</a> if you think
there should be something here. </p>
<?php footer('$Id$'); ?>
The purpose of the Makefile is to preprocess website's pages
statically through the PHP processor, so as to reduce the load on the
web server.
In each directories, you should create a Makefile.inc file that will
be included by the Makefile scripts. In that file, you can create a
SUBDIR variable to specify the list of subdirectories.
You can optionnaly define a PHP_FILES variable to specify the list of
files to be preprocessed (without trailing .html/.php). It defaults to
"*.php". Additionnaly, PHP_IGNORE can be used to explicitly exclude
some PHP scripts from static preprocessing.
--
Remi Denis-Courmont
#!/usr/bin/make -f
#
# Makefile to build PHP-based websites statically
# by Remi Denis-Courmont
# $Id$
ifeq ($(ROOT),)
ROOT := ./
NEXTROOT := ../
else
NEXTROOT := ../$(ROOT)
endif
PHPCGI := $(ROOT)bin/php-cgi.sh
STRIP_HEADERS := $(ROOT)bin/strip-headers.sh
all: real-all
include Makefile.inc
ifneq ($(PHP_FILES),)
PHP_FILES := $(PHP_FILES:%=%.php)
else
PHP_FILES := $(wildcard *.php)
endif
ifneq ($(PHP_IGNORES),)
PHP_FILES := $(filter-out $(PHP_IGNORES:%=%.php), $(PHP_FILES))
endif
TARGETS := $(PHP_FILES:%.php=%.html)
real-all: $(TARGETS) all-recursive
clean: clean-recursive
rm -f $(TARGETS) $(TARGETS:%=%.tmp)
%-recursive:
@for d in $(SUBDIR) ; do \
$(MAKE) -f $(NEXTROOT)Makefile -C $$d ROOT=$(NEXTROOT) $* \
HERE=$(HERE)$$d/ || exit $$? ; \
done
%.html: %.php $(ROOT)Makefile $(ROOT)/include/*.php $(ROOT)/include/*.php3 $(ROOT)/include/mirrors $(ROOT)/include/menu/*
@echo "Preprocessing $@ ..."
@rm -f $@.tmp
@cd $(ROOT) || exit 1 ; \
if ! DOCUMENT_ROOT=$(ROOT) $(HERE)$(PHPCGI) $(HERE)$< > $(HERE)$@.tmp; then \
cat $(HERE)$@.tmp | tail -1 ; \
rm -f $(HERE)$@.tmp ; \
exit 1 ; \
fi
@$(STRIP_HEADERS) < $@.tmp > $@
@rm -f $@.tmp
.PHONY: clean all
# Subdirectories to be preprocessed
SUBDIR = doc events removed rez streaming support team vlc
# Files to be preprocessed
#PHP_FILES = # automatic
PHP_IGNORES = mirror retrieve get_count
# Additionnal dependencies
news.html: news.msg
index.html: news.msg
#!/bin/sh
#
# Script to call the PHP Hypertext Processor as a CGI script
# -- Courmisch 21/10/2004
#
# $Id: phpcgi.sh 1960 2004-11-01 16:52:30Z dionoea $
# It won't work if you call the PHP CLI usually in /usr/bin or /usr/local/bin
PHP=/usr/lib/cgi-bin/php4
# CGI/1.1 interface variables
export SERVER_SOFTWARE="Shell CGI/0.1"
export SERVER_NAME="localhost"
export GATEWAY_INTERFACE="CGI/1.1"
export SERVER_PROTOCOL="HTTP/1.1"
export SERVER_PORT="80"
export REQUEST_METHOD="GET"
export PATH_INFO=`echo "$1" | cut -d '?' -f1`
export PATH_TRANSLATED="${2}${PATH_INFO}"
export SCRIPT_NAME="/cgi-bin/php4"
export QUERY_STRING=`echo "$1" | cut -d '?' -f2`
export REMOTE_HOST="localhost"
export REMOTE_ADDR="127.0.0.1"
#export AUTH_TYPE
#export REMOTE_USER
#export REMOTE_IDENT
# CGI Redirect security workaround
export REDIRECT_STATUS=200
export REDIRECT_QUERY_STRING="$QUERY_STRING"
export REDIRECT_URL="$PATH_INFO"
$PHP < /dev/null
#!/bin/sh
#
# Small script to remove HTTP headers generated by CGI scripts
#
# $Id$
while read l; do
len=${#l}
if test "$len" -le 1; then
exec cat
fi
done
<?php
$title = "VideoLAN - Contact us";
$lang = "en";
$date = "28 Septembre 2001";
$menu = array( "home", "contact" );
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php3");
?>
<h1>Contacting the VideoLAN team</h1>
<p> User questions can be sent to the appropriate <i>English-speaking</i>
mailing-lists: </p>
<ul>
<li> <a href="mailto:vlc@videolan.org">vlc@videolan.org</a> for specific questions about vlc, </li>
<li> <a href="mailto:streaming@videolan.org">streaming@videolan.org</a> for specific questions about the streaming solution. </li>
</ul>
<p>If you want to contact the French team of the Ecole
Centrale Paris, about partnerships for example, please write to <a
href="mailto:videolan@videolan.org">videolan@videolan.org</a> in
French or English.</p>
<p>If you want to redistribute some VideoLAN software (VLC,
VLS...) in a magazine for example, you don't need to ask us
the permission ! You can distribute an original or a modified
version as long as you comply with its license terms, i.e. the <a
href="http://www.gnu.org/copyleft/gpl.html">GNU General Public
License Version 2</a>. The easiest way to conform to this licence
is to accompany the software with its sources. For example, if
you plan to distribute a binary version of VLC on a CD, you
should also include on the same CD all the files listed on the <a
href="/vlc/download-sources.html">VLC source code page</a>.</p>
<p>In case you write an article about VideoLAN, we would be very glad to
have a copy of it to add to our press book. You can send us the article
at the following address :</p>
<pre style="margin-left: 60px;">
VideoLAN
Club VIA Centrale Réseaux
Résidence Ecole Centrale
2, avenue Sully Prudhomme
92 290 Châtenay Malabry
France
</pre>
<h1>Legal contact</h1>
<p>Hosting for the VideoLAN project is provided by&nbsp;:
</p>
<pre style="margin-left: 60px;">
VIA Centrale Réseaux
Résidence des élèves de l'École Centrale
2, avenue Sully Prudhomme
92 290 Châtenay Malabry
France
</pre>
<p>Antoine Cellerier is responsible for the website's publication.
</p>
<?php footer('$Id$'); ?>
<?php
$title = "VideoLAN - Contribute to the project";
$lang = "en";
$date = "24 July 2002";
$menu = array( "home", "contribute" );
require($_SERVER["DOCUMENT_ROOT"]."/include/header.php3");
?>
<h1> How to contribute to VideoLAN </h1>
<h2>Contribute time</h2>
<p> If you have time and programming skills, you
can help us develop the software. Read the <a
href="http://developers.videolan.org/">developer documentations</a>,
subscribe to the <a href="/support/lists.html">mailing-lists</a>, have
a look at the <a href="http://bugzilla.videolan.org/">bug-tracking
system</a>, join the <a href="/support/">IRC channel</a> and start to
code! Send your code to the developer mailing-lists under the form of
patches for the current <a href="http://developers.videolan.org/svn.html">
Version Controlled Sources</a>. If you often make good contributions, the
VideoLAN team will give you a <a href="http://developers.videolan.org/svn.html">
Subversion</a> write account. </p>
<p> If you have time but no programming skills, you can help with the
documentation, the translation of the VLC interface and the VideoLAN
documentation, the packaging, the tests before the releases, answer the
questions in the user mailing-lists if you can, etc... </p>
<h2>Contribute materials</h2>
<p> Your particular DVD does not work with VLC or VLS? VLC does not like your
VCD or SVCD? You have a satellite card or an MPEG encoding card that is not
supported by VideoLAN? </p>
<p> You can donate it to the developers at the École Centrale and it may
motivate them to work on your suggestion! In any case, you do not have any
warranty that your wish will be taken into account. </p>
<p> If you want to donate materials, please write to <a
href="mailto:videolan@videolan.org">videolan@videolan.org</a> so that we can
tell you if we are interested and give you our snail-mail address. </p>
<h2><a name="money"></a>Donate money</h2>
<h3>What is the legal structure of VideoLAN?</h3>
<p> VideoLAN is a project of the association <a
href="http://www.via.ecp.fr/">Centrale Réseaux</a>, which is a French
non-profit organisation based at the <a href="http://www.ecp.fr/">École
Centrale Paris</a>. VideoLAN has its own bank account and is responsible of
its finance in front of the <a href="http://www.via.ecp.fr/via/ca.html">board
of Centrale Réseaux</a>. </p>
<h3>What are the financial needs of VideoLAN?</h3>
<ul>
<li>Buy hardware for developing and testing purposes (servers,
satellite cards and antenna, MPEG encoding cards,...)</li>
<li>Buy documentation and specifications (MPEG specifications,...)</li>
<li>Promote the project by organising or participating in events (Linux
Expo Paris, Annual presentation Day,...)</li>
</ul>
<h3>Who funds VideoLAN?</h3>
<ul>
<li>the <a href="http://www.via.ecp.fr/">Centrale Réseaux</a> association,</li>
<li>the <a href="http://www.ecp.fr/">École Centrale Paris</a> and its <a
href="http://www.msio.ecp.fr/">SIO Master</a> (Open Information Systems).</li>
<li>you, with your donations!</li>
</ul>
<a name="paypal">
<h3>Donate to VideoLAN via PayPal</h3>
<p> You can donate money to the project through VideoLAN's <a
href="http://www.paypal.com/">PayPal</a> account. The money collected is
regularly transferred to VideoLAN's bank account. There is no minimal amount
for your donation. </p>
<p> If you click on one of the buttons below, you will be taken the secure
PayPal Web site. Enter the amount of the donation you want to make. </p>
<ul>
<li>If you are not already a PayPal member, you will be asked to enter
your name, your Credit Card number (VISA, MasterCard, American Express,
Discover), your address, your e-mail and a password for your PayPal
account.</li>
<li>If you already have a PayPal account, go to the section for those
who already have a PayPal account (clic on <i>Login Now</i>): you will
then be prompted for you PayPal login and password. You will eventually
be able to transfer money to VideoLAN's PayPal account.</li>
</ul>
<table border="1">
<tr>
<td align="center"><b>US Dollars</b></td>
<td align="center"><b>Euros</b></td>
</tr>
<tr>
<td>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<p>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="treasurer@videolan.org" />
<input type="hidden" name="item_name" value="Development and communication of VideoLAN" />
<input type="hidden" name="no_note" value="0" />