Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (27 sloc) 1.12 KB
<VirtualHost *>
ServerName croisee.fiee.net
# disable listing and "guessing" of static files
<Directory /var/www/>
Options -Indexes FollowSymLinks -MultiViews
AllowOverride None
Order deny,allow
Allow from all
</Directory>
Alias /favicon.ico /var/www/croisee/releases/current/croisee/static/favicon.ico
# project media
Alias /media /var/www/croisee/releases/current/croisee/static
<Location "/media">
SetHandler None
</Location>
# general admin media
Alias /django_admin_media /var/www/croisee/lib/python2.7/site-packages/django/contrib/admin/media
<Location "/django_admin_media">
SetHandler None
</Location>
WSGIDaemonProcess croisee-production user=croisee group=croisee threads=10 maximum-requests=2000 python-path=/var/www/croisee/lib/python2.7/site-packages:/var/www/python
WSGIProcessGroup croisee-production
WSGIScriptAlias / /var/www/croisee/releases/current/django.wsgi
ErrorLog /var/www/croisee/logs/error.log
LogLevel warn
CustomLog /var/www/croisee/logs/access.log combined
</VirtualHost>