website/apache2/sites-available/sfconservancy.org
Bradley M. Kuhn 15217d3e2a Fixed to reflect correct copyright notice (SFLC employees hold copyright
on their own work, per Eben Moglen directive)
2010-09-26 19:40:50 -04:00

2 KiB

NameVirtualHost 10.10.11.21:80 #NameVirtualHost 10.10.11.21:443

<VirtualHost 10.10.11.21:80> ServerName sfconservancy.org ServerAdmin root@sfconservancy.org

DocumentRoot /var/www/conservancy/static

<Directory /var/www/conservancy/static> Options -Indexes FollowSymLinks -MultiViews Order allow,deny allow from all AllowOverride None </Directory>

PythonPath "['/var/www'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE conservancy.settings PythonDebug Off PythonPostReadRequestHandler conservancy_wrapper

PythonOutputFilter modpythoncustom DJANGOTEMPLATE AddOutputFilter DJANGOTEMPLATE html

ErrorDocument 401 /401error.html ErrorDocument 403 /403error.html ErrorDocument 404 /404error.html ErrorDocument 500 /500error.html

ErrorLog /var/log/apache2/sfconservancy.org_error.log

LogLevel warn

CustomLog /var/log/apache2/sfconservancy.org_access.log combined ServerSignature On

</VirtualHost>