conf/platform.conf
changeset 15 db98c84cd927
equal deleted inserted replaced
14:cfde73c6d019 15:db98c84cd927
       
     1 
       
     2 RedirectMatch permanent /~ymh/platform/?$ /~ymh/platform/ldtplatform/
       
     3 
       
     4 Alias /~ymh/platform/ldtplatform /Users/ymh/dev/workspace/platform_web/src/ldtplatform
       
     5 
       
     6 <location /~ymh/platform/ldtplatform>
       
     7     SetEnv DJANGO_SETTINGS_MODULE ldtplatform.settings
       
     8     SetEnv PROJECT_PATH /Users/ymh/dev/workspace/platform_web/src
       
     9     SetEnv PYTHON_PATH /Users/ymh/dev/workspace/platform_web/virtualenv/web/env/venv_platform/lib/python2.7/site-packages:/Users/ymh/dev/workspace/platform/src/ldt:/Applications/Dev/eclipse/plugins/org.python.pydev_2.7.1.2012100913/pysrc
       
    10     SetEnv PYDEV_DEBUG False
       
    11     #SetEnv PYDEV_DEBUG True
       
    12 
       
    13     Options ExecCGI FollowSymLinks
       
    14     SetHandler wsgi-script
       
    15 
       
    16     #if defined in global definition
       
    17     #defined with WSGIDaemonProcess 
       
    18     #WSGIProcessGroup platform
       
    19 
       
    20     RewriteEngine On
       
    21     RewriteCond %{REQUEST_URI} !modwsgi.wsgi
       
    22     RewriteRule ^/Users/ymh/dev/workspace/platform_web/src/ldtplatform(.*)$ /~ymh/platform/ldtplatform/modwsgi.wsgi$1 [QSA,PT,L]
       
    23 
       
    24     Header set Pragma "no-cache"
       
    25     Header set Cache-Control "no-cache"
       
    26     Header set Expires "-1"
       
    27 </location>