2007-12-01 18:04:28 +00:00
|
|
|
NameVirtualHost *
|
|
|
|
<VirtualHost *>
|
|
|
|
ServerAdmin webmaster@localhost
|
|
|
|
|
|
|
|
DocumentRoot /var/www/yolanda/
|
|
|
|
<Directory />
|
|
|
|
Options FollowSymLinks
|
|
|
|
AllowOverride None
|
|
|
|
</Directory>
|
2008-04-08 13:25:33 +00:00
|
|
|
|
|
|
|
<Location /video-stills>
|
|
|
|
ForceType image/jpeg
|
|
|
|
</Location>
|
|
|
|
|
2007-12-01 18:04:28 +00:00
|
|
|
AllowEncodedSlashes On
|
|
|
|
|
|
|
|
RewriteEngine On
|
2008-04-22 20:08:02 +00:00
|
|
|
RewriteRule ^/video/(.*)/([0-9]+)/(.*)$ /video.pl?title=$1&id=$2&$3
|
|
|
|
RewriteRule ^/embedded/(.*)/([0-9]+)/(.*)$ /video.pl?title=$1&id=$2&embed=true&$3
|
2007-12-01 18:04:28 +00:00
|
|
|
RewriteRule ^/download/([0-9]+)/(.*)$ /download.pl?id=$1&$2
|
|
|
|
|
|
|
|
ErrorLog /var/log/apache2/error.log
|
|
|
|
|
|
|
|
LogLevel warn
|
|
|
|
|
|
|
|
CustomLog /var/log/apache2/access.log combined
|
|
|
|
ServerSignature On
|
|
|
|
|
|
|
|
</VirtualHost>
|