| 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-- |
| 0 | 1 |
|
2 |
SetEnv DJANGO_SETTINGS_MODULE hdabo.settings |
|
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 | 6 |
|
7 |
Options ExecCGI FollowSymLinks |
|
8 |
SetHandler wsgi-script |
|
9 |
||
10 |
#if defined in global definition |
|
11 |
#defined with WSGIDaemonProcess |
|
12 |
#WSGIProcessGroup platform |
|
13 |
||
14 |
RewriteEngine On |
|
15 |
RewriteCond %{REQUEST_FILENAME} !-f |
|
16 |
RewriteRule ^(.*)$ /~ymh/hdabo/hdabo/modwsgi.wsgi/$1 [QSA,PT,L] |
|
17 |
||
18 |
Header set Pragma "no-cache" |
|
19 |
Header set Cache-Control "no-cache" |
|
20 |
Header set Expires "-1" |