For a small framework, try Flask. It is much better that web.py anyway. 

This isn't the first time I have seen people struggle with web.py sessions.

Graham

On 08/08/2014, at 9:53 PM, Shatskiy Kirill <[email protected]> wrote:

> Thanks! I changed my config(see below) and it still doesn't work. I used 
> Wireshark for checking HTTP headers and 
> they all contain webpy_session_id. I have no idea why sessions fail, because 
> wsgi without apace works correct. If you want to see the dump you can 
> download it: 
> 
> This is webpy+apache 
> https://drive.google.com/file/d/0BxLk8e4F5RzfeUpTZjI2N2Y5aGc/edit?usp=sharing 
> This is webpy only      
> https://drive.google.com/file/d/0BxLk8e4F5RzfbmtzV3pmUXlCWXM/edit?usp=sharing
> 
> I think that I should try another framework...Do you hear about some with 
> Django? (just want to choose
> a working Python solution for ecommerce project) 
> 
> -----Apache config--------
> <VirtualHost *:8080>
> 
>         DocumentRoot /var/www/webpy-app/documents
> 
>         Alias /appname/static /var/www/webpy-app/static
>         AddType text/html .py
> 
>         <Directory /var/www/webpy-app/>
>             Order deny,allow
>             Allow from all
>         </Directory>
> 
>         WSGIDaemonProcess test user=#1001 group=#1001 threads=15
>         WSGIProcessGroup test
> 
>         WSGIScriptAlias / /var/www/webpy-app/code.py
> 
>         ErrorLog ${APACHE_LOG_DIR}/error.log
> 
>         LogLevel info
> 
>         CustomLog ${APACHE_LOG_DIR}/access.log combined
> 
> </VirtualHost>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to