videopdf/etc/apache2/pdfview.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
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
2013-02-12 08:07:16 +00:00
Alias /static/admin /srv/pdfvideo/src/django/django/contrib/admin/static/admin
2013-02-12 07:49:16 +00:00
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
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>