Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 33 lines (27 sloc) 1.144 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<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>
Something went wrong with that request. Please try again.