web/ldtplatform/.htaccess.mod_wsgi.tmpl
author ymh <ymh.work@gmail.com>
Mon, 27 Aug 2012 02:19:16 +0200
changeset 752 eb7957008faa
parent 6 7bc847aaccac
permissions -rw-r--r--
Added tag V01.18 for changeset f8c68f292551


SetEnv DJANGO_SETTINGS_MODULE ldtplatform.settings
SetEnv PROJECT_PATH /iridata/users/wakimd/hg/platform/web
SetEnv PYTHON_PATH /iridata/users/wakimd/Env/Efculture/lib/python2.6/site-packages

Options ExecCGI FollowSymLinks
SetHandler wsgi-script

#if defined in global definition
#defined with WSGIDaemonProcess 
#WSGIProcessGroup platform

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /dev/~wakimd/platform/ldtplatform/modwsgi.wsgi/$1 [QSA,PT,L]

Header set Pragma "no-cache"
Header set Cache-Control "no-cache"
Header set Expires "-1"