| author | ymh <ymh.work@gmail.com> |
| Fri, 16 Nov 2012 18:36:12 +0100 | |
| changeset 68 | 58e36c7f7e30 |
| parent 1 | 08f6e99af174 |
| permissions | -rwxr-xr-x |
|
1
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
1 |
|
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
2 |
SetEnv DJANGO_SETTINGS_MODULE ldtplatform.settings |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
3 |
SetEnv PROJECT_PATH /iridata/users/wakimd/hg/platform/web |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
4 |
SetEnv PYTHON_PATH /iridata/users/wakimd/Env/Efculture/lib/python2.6/site-packages |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
5 |
|
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
6 |
Options ExecCGI FollowSymLinks |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
7 |
SetHandler wsgi-script |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
8 |
|
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
9 |
#if defined in global definition |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
10 |
#defined with WSGIDaemonProcess |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
11 |
#WSGIProcessGroup platform |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
12 |
|
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
13 |
RewriteEngine On |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
14 |
RewriteCond %{REQUEST_FILENAME} !-f |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
15 |
RewriteRule ^(.*)$ /dev/~wakimd/platform/ldtplatform/modwsgi.wsgi/$1 [QSA,PT,L] |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
16 |
|
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
17 |
Header set Pragma "no-cache" |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
18 |
Header set Cache-Control "no-cache" |
|
08f6e99af174
prepare the installation of the ldt platform
ymh <ymh.work@gmail.com>
parents:
diff
changeset
|
19 |
Header set Expires "-1" |