Jump to content

slavansk07

Members
  • Posts

    1
  • Joined

  • Last visited

slavansk07's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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>
×
×
  • Create New...