videopdf/etc/apache2/videopdf.conf
2013-02-12 16:16:25 +05:30

45 lines
1.2 KiB
Text

<VirtualHost *:80>
ServerName pdf.0x2620.org
LogLevel warn
ErrorLog /var/log/apache2/videopdf.org_error.log
CustomLog /var/log/apache2/videopdf.org_access.log combined
<Location />
Options -Indexes
</Location>
<Directory /srv/videopdf>
Order deny,allow
Allow from all
</Directory>
<Location />
XSendFile on
XSendFileAllowAbove on
</Location>
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
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
</VirtualHost>