1. Colin Copeland
  2. django-basic-events

Source

django-basic-events / sample_project / apache / production.conf

<VirtualHost *>
    ServerName www.caktusgroup.com
    ServerAlias caktusgroup.com

    WSGIScriptReloading On
    WSGIReloadMechanism Process
    WSGIDaemonProcess sample_project-prod
    WSGIProcessGroup sample_project-prod
    WSGIApplicationGroup sample_project-prod
    WSGIPassAuthorization On
    
    WSGIScriptAlias / /var/www/sample_project/production/sample_project/apache/production.wsgi/
    
    <Location "/">
        Order Allow,Deny
        Allow from all
    </Location>
    
    <Location "/media">
        SetHandler None
    </Location>

    Alias /media /var/www/sample_project/production/sample_project/media
    
    <Location "/admin-media">
        SetHandler None
    </Location>
    
    Alias /admin-media /var/www/sample_project/production/sample_project/media/admin
    
    Alias /blog /var/www/sample_project/wordpress
    <Directory /var/www/sample_project/wordpress>
        Options FollowSymLinks
        AllowOverride Limit Options FileInfo
        DirectoryIndex index.php
    </Directory>
    
    ErrorLog /var/www/sample_project/log/error.log
    LogLevel warn
    CustomLog /var/www/sample_project/log/access.log combined
</VirtualHost>