# HG changeset patch # User ymh # Date 1346331506 -7200 # Node ID d6befe35199797832fba16b1a5f8ea3f74237f90 # Parent fd17983fd0bd7f17b82a3fc2a7d7c0eff2e7cac1 small corrections diff -r fd17983fd0bd -r d6befe351997 web/theend/.htaccess.mod_python.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 +PythonOption virtualenv.activate_path PythonDebug on -PythonPath "['/iridata/users/wakimd/Env/Efculture/lib/python2.6/sites-packages'] + sys.path" +PythonPath "['/lib/python2.7/sites-packages'] + sys.path" Header set Pragma "no-cache" Header set Cache-Control "no-cache" Header set Expires "-1" diff -r fd17983fd0bd -r d6befe351997 web/theend/.htaccess.mod_wsgi.tmpl --- 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 +SetEnv PYTHON_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 ^(.*)$ /modwsgi.wsgi/$1 [QSA,PT,L] Header set Pragma "no-cache" Header set Cache-Control "no-cache"