src/hdabo/.htaccess.mod_wsgi.tmpl
author cavaliet
Tue, 17 Jun 2014 10:25:33 +0200
changeset 271 8f77cf71ab02
parent 83 web/hdabo/.htaccess.mod_wsgi.tmpl@1c4729b3dac1
permissions -rw-r--r--
commit the venv update (django and dependancies) in the good head
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
SetEnv DJANGO_SETTINGS_MODULE hdabo.settings
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
SetEnv PROJECT_PATH /Users/ymh/dev/workspace/hdabo/web
83
1c4729b3dac1 Correction bug #20. The solution is mainly to make sure that the index is recalculated
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
     4
SetEnv PYTHON_PATH /Users/ymh/dev/workspace/hdabo/virtualenv/web/env/hdabo/lib/python2.6/site-packages:/Applications/Dev/eclipse/plugins/org.python.pydev.debug_2.2.0.2011062419/pysrc/
1c4729b3dac1 Correction bug #20. The solution is mainly to make sure that the index is recalculated
ymh <ymh.work@gmail.com>
parents: 0
diff changeset
     5
SetEnv PYDEV_DEBUG False
0
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
Options ExecCGI FollowSymLinks
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
SetHandler wsgi-script
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
#if defined in global definition
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
#defined with WSGIDaemonProcess 
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
#WSGIProcessGroup platform
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
RewriteEngine On
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
RewriteCond %{REQUEST_FILENAME} !-f
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
RewriteRule ^(.*)$ /~ymh/hdabo/hdabo/modwsgi.wsgi/$1 [QSA,PT,L]
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
Header set Pragma "no-cache"
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
Header set Cache-Control "no-cache"
896db0083b76 first commit
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
Header set Expires "-1"