conf/.htaccess.mod_wsgi.tmpl
changeset 1 5778de052a1b
parent 0 87104b7cb3d6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/.htaccess.mod_wsgi.tmpl	Thu Nov 29 15:57:49 2012 +0100
@@ -0,0 +1,20 @@
+
+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
+SetEnv PYDEV_DEBUG False
+
+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"