diff options
Diffstat (limited to 'apache/staging.conf')
| -rw-r--r-- | apache/staging.conf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/apache/staging.conf b/apache/staging.conf new file mode 100644 index 0000000..919a3d6 --- /dev/null +++ b/apache/staging.conf @@ -0,0 +1,31 @@ +<VirtualHost *:80> + WSGIScriptReloading On + WSGIReloadMechanism Process + WSGIDaemonProcess caktus_website-staging + WSGIProcessGroup caktus_website-staging + WSGIApplicationGroup caktus_website-staging + WSGIPassAuthorization On + + WSGIScriptAlias / /var/www/generic_django/apache/staging.wsgi/ + + <Location "/"> + Order Allow,Deny + Allow from all + </Location> + + <Location "/media"> + SetHandler None + </Location> + + Alias /media /var/www/staging/generic_django/media + + <Location "/adminmedia"> + SetHandler None + </Location> + + Alias /adminmedia /var/www/staging/generic_django/media/admin + + ErrorLog /var/www/log/error.log + LogLevel info + CustomLog /var/www/log/access.log combined +</VirtualHost>
\ No newline at end of file |
