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>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now