videopdf/etc/apache2/pdfview.conf
2013-02-12 13:37:16 +05:30

45 lines
1.2 KiB
Text

<VirtualHost *:80>
ServerName pdf.0x2620.org
LogLevel warn
ErrorLog /var/log/apache2/pdfvideo.org_error.log
CustomLog /var/log/apache2/pdfvideo.org_access.log combined
<Location />
Options -Indexes
</Location>
<Directory /srv/pdfvideo>
Order deny,allow
Allow from all
</Directory>
<Location />
XSendFile on
XSendFileAllowAbove on
</Location>
Alias /.bzr /srv/pdfvideo/.bzr
Alias /static/admin /srv/pdfvideo/src/django/django/contrib/admin/static/admin
Alias /static /srv/pdfvideo/static
Alias /robots.txt /srv/pdfvideo/pdfvideo/static/robots.txt
Alias /favicon.ico /srv/pdfvideo/pdfvideo/static/favicon.ico
Alias /data /srv/pdfvideo/data
Alias /admin/media /srv/pdfvideo/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>