Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-15 Thread Josh Stratton
One issue I'm seeing is that my app might not be setup with mod_wsgi correctly as I see the main function called on every browser request. in my site-enabled file... WSGIDaemonProcess app processes=2 maximum-requests=500 threads=1 WSGIProcessGroup app WSGIScriptAlias /myapp

Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-15 Thread Graham Dumpleton
On 15 February 2011 23:52, Josh Stratton strattonbra...@gmail.com wrote: One issue I'm seeing is that my app might not be setup with mod_wsgi correctly as I see the main function called on every browser request. That could only be if process is crashing. Look in main Apache error log for

Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-14 Thread strattonbrazil
I modified the web.py library to write to an absolute path in /tmp instead, and still didn't see any file being created, so I feel like something is failing before that like a concurrency issue. Are there any openid libraries I could use in the mean time that have worked well with mod_wsgi in

Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-14 Thread Graham Dumpleton
On 15 February 2011 00:05, strattonbrazil strattonbra...@gmail.com wrote: I modified the web.py library to write to an absolute path in /tmp instead, and still didn't see any file being created, so I feel like something is failing before that like a concurrency issue.  Are there any openid

Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-14 Thread Josh Stratton
Thanks, Graham. I'm kind of invested in web.py for this project, but may check flask out for future projects or refactorings. I decided that mod_auth_openid should fit my needs for now. On Mon, Feb 14, 2011 at 7:08 PM, Graham Dumpleton graham.dumple...@gmail.com wrote: On 15 February 2011

[modwsgi] using web.py openid authentication with modwsgi

2011-02-11 Thread strattonbrazil
I'm having a problem getting web.py's OpenID working with mod_wsgi. If I run web.py's webser directly, it works, so I'm guessing it's not a problem with my code but how apache/mod_wsgi stores files. When I run the web.py server directly, the openid library will create a .openid_secret_key file.

Re: [modwsgi] using web.py openid authentication with modwsgi

2011-02-11 Thread Graham Dumpleton
On 12 February 2011 17:36, strattonbrazil strattonbra...@gmail.com wrote: I'm having a problem getting web.py's OpenID working with mod_wsgi. If I run web.py's webser directly, it works, so I'm guessing it's not a problem with my code but how apache/mod_wsgi stores files.  When I run the