videopdf/etc/apache2/videopdf.conf

46 lines
1.2 KiB
Text
Raw Normal View History

2013-02-12 07:49:16 +00:00
<VirtualHost *:80>
2013-02-12 08:07:16 +00:00
ServerName pdf.0x2620.org
2013-02-12 07:49:16 +00:00
LogLevel warn
2013-02-12 10:46:25 +00:00
ErrorLog /var/log/apache2/videopdf.org_error.log
CustomLog /var/log/apache2/videopdf.org_access.log combined
2013-02-12 07:49:16 +00:00
<Location />
Options -Indexes
</Location>
2013-02-12 10:46:25 +00:00
<Directory /srv/videopdf>
2013-02-12 07:49:16 +00:00
Order deny,allow
Allow from all
</Directory>
<Location />
XSendFile on
XSendFileAllowAbove on
</Location>
2013-02-12 10:46:25 +00:00
Alias /.bzr /srv/videopdf/.bzr
Alias /static/admin /srv/videopdf/src/django/django/contrib/admin/static/admin
Alias /static /srv/videopdf/static
Alias /robots.txt /srv/videopdf/videopdf/static/robots.txt
Alias /favicon.ico /srv/videopdf/videopdf/static/favicon.ico
Alias /data /srv/videopdf/data
Alias /admin/media /srv/videopdf/src/django/django/contrib/admin/media
2013-02-12 07:49:16 +00:00
2013-02-12 08:07:16 +00:00
ProxyPass /static !
ProxyPass /favicon.ico !
ProxyPass /robots.txt !
ProxyPass /admin/media !
ProxyPass /data !
ProxyPass /.bzr !
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:2688/
ProxyPassReverse / http://127.0.0.1:2688/
ServerSignature Off
2013-02-12 07:49:16 +00:00
</VirtualHost>