Ignore:
Timestamp:
11/01/12 10:36:17 (8 years ago)
Author:
mnagni
Message:

relocated the wsgi.py
updated the configuration
added a dependency (existing but missing from the requirements.txt) from psycop2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/resources/MolesManager_wsgi.conf

    r8052 r8057  
    1 <!-- 
    2 WSGIScriptAlias / /path/to/mysite.com/mysite/wsgi.py 
    3 WSGIPythonPath /path/to/mysite.com 
    4 WSGIPythonPath /path/to/your/venv/lib/python2.X/site-packages 
    5 --> 
    6 WSGIScriptAlias / #PATH_TO_DJANGO_PROJECT/wsgi.py 
    7 WSGIPythonPath #PATH_TO_PROJECT 
    8 WSGIPythonPath #PATH_TO_VE_PROJECT_SITE_PACKAGES/site-packages 
     1<VirtualHost *:80> 
     2    ErrorLog /var/log/apache2/PROJECT_NAME_PARError.log 
    93 
     4        # Possible values include: debug, info, notice, warn, error, crit, 
     5        # alert, emerg. 
     6        LogLevel warn 
    107 
    11 <!-- 
    12 <Directory /path/to/mysite.com/mysite> 
    13 --> 
    14 <Directory #PATH_TO_DJANGO_PROJECT> 
    15 <Files wsgi.py> 
    16 Order deny,allow 
    17 Allow from all 
    18 </Files> 
    19 </Directory> 
     8    CustomLog /var/log/apache2/PROJECT_NAME_PAR.log combined 
     9 
     10    WSGIScriptAlias /cov PATH_TO_PROJECT_WSGI/wsgi.py 
     11 
     12    <Directory PATH_TO_DJANGO_PROJECT> 
     13        Order allow,deny 
     14        Allow from all 
     15    </Directory> 
     16</VirtualHost> 
Note: See TracChangeset for help on using the changeset viewer.