small corrections
authorymh <ymh.work@gmail.com>
Thu, 30 Aug 2012 14:58:26 +0200
changeset 9 d6befe351997
parent 8 fd17983fd0bd
child 10 c2c1a3b30a17
child 11 1f90796f6106
small corrections
web/theend/.htaccess.mod_python.tmpl
web/theend/.htaccess.mod_wsgi.tmpl
--- a/web/theend/.htaccess.mod_python.tmpl	Thu Aug 30 14:11:41 2012 +0200
+++ b/web/theend/.htaccess.mod_python.tmpl	Thu Aug 30 14:58:26 2012 +0200
@@ -2,10 +2,10 @@
 PythonHandler ldt.core.handlers.modpython
 SetEnv DJANGO_SETTINGS_MODULE ldtplatform.settings
 PythonInterpreter platform
-PythonOption django.root /~wakimd/platform/ldtplatform
-PythonOption virtualenv.activate_path /iridata/users/wakimd/Env/Efculture/bin/activate_this.py
+PythonOption django.root </root/url>
+PythonOption virtualenv.activate_path </virtualenv/path/bin/activate>
 PythonDebug on
-PythonPath "['/iridata/users/wakimd/Env/Efculture/lib/python2.6/sites-packages'] + sys.path"
+PythonPath "['<virtualenv/path>/lib/python2.7/sites-packages'] + sys.path"
 Header set Pragma "no-cache"
 Header set Cache-Control "no-cache"
 Header set Expires "-1"
--- a/web/theend/.htaccess.mod_wsgi.tmpl	Thu Aug 30 14:11:41 2012 +0200
+++ b/web/theend/.htaccess.mod_wsgi.tmpl	Thu Aug 30 14:58:26 2012 +0200
@@ -1,7 +1,7 @@
 
-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 DJANGO_SETTINGS_MODULE theend.settings
+SetEnv PROJECT_PATH </web/folder/path/on/server>
+SetEnv PYTHON_PATH </virtualenv/path>/lib/python2.7/site-packages
 
 Options ExecCGI FollowSymLinks
 SetHandler wsgi-script
@@ -12,7 +12,7 @@
 
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ /dev/~wakimd/platform/ldtplatform/modwsgi.wsgi/$1 [QSA,PT,L]
+RewriteRule ^(.*)$ <url/root>/modwsgi.wsgi/$1 [QSA,PT,L]
 
 Header set Pragma "no-cache"
 Header set Cache-Control "no-cache"