source: mauRepo/dj_security/trunk/resources/dj_security_wsgi.conf @ 8651

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/resources/dj_security_wsgi.conf@8651
Revision 8651, 597 bytes checked in by mnagni, 7 years ago (diff)

Added some configuration files

Line 
1###
2# Configuration for Apache mod_wsgi module
3# This file has to be INCLUDE in a <VirtualHost> tag
4###
5
6    # Possible values include: debug, info, notice, warn, error, crit,
7    # alert, emerg.
8    LogLevel warn
9
10        ErrorLog LOG_DIR_PATH_PAR/PROJECT_NAME_PARError.log
11    CustomLog LOG_DIR_PATH_PAR/PROJECT_NAME_PAR.log combined
12
13    Alias /PROJECT_NAME_PAR/static/ PATH_TO_DJANGO_PROJECT_STATIC_FILES
14   
15    <Directory PATH_TO_DJANGO_PROJECT_STATIC_FILES>
16        Order allow,deny
17        Allow from all
18    </Directory>
19   
20    WSGIScriptAlias /PROJECT_NAME_PAR PATH_TO_PROJECT_WSGI/wsgi.py
21
Note: See TracBrowser for help on using the repository browser.