slavansk07 Posted February 20, 2012 Posted February 20, 2012 I am trying to install 'web.py' application on heliohost. And everything seems to work fine instead sessions.I store session information in postgresql. But any reference to session variable creates new session object (new record in a database) and therefore I have no session persistence among my application. I guess something has to be wrong with apache configuration file, not python script. Maybe my guess is wrong. Anyway I can't figure that out. Please, any suggestions. I'm still a rookie... But I hope time will fix it :-) .htaccess file script <Files index.py> SetHandler wsgi-script Options ExecCGI FollowSymLinks</Files> <IfModule mod_rewrite.c> RewriteEngine on RewriteOptions Inherit RewriteBase /myapp RewriteCond %{REQUEST_URI} !^/favicon.ico$ RewriteCond %{REQUEST_URI} !^(/.*)+index.py/ RewriteRule ^(.*)$ index.py/$1 [PT]</IfModule> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.