Hi, I have an embedded (apache2 + mod_wsgi) pylons app that runs without any issues when accessing non-secure pages. When I try to access any secure page I'm getting the following error:
[Fri Jul 17 19:01:42 2009] [info] mod_wsgi (pid=49554): Create interpreter 'www.company_name.com|'. [Fri Jul 17 19:01:42 2009] [info] [client 192.168.1.100] mod_wsgi (pid=49554, process='', application='www.company_name.com|'): Loading WSGI script '/users/www/p07/egg/p07/mod_wsgi/dispatch.py'., referer: http://192.168.1.100/ [Fri Jul 17 19:01:43 2009] [error] [p07.config.middleware] p07 middleware initialized! [Fri Jul 17 19:01:43 2009] [error] [_mod_wsgi_92a47965b08a6188a11f8897466fc768] p07 WSGI application initialized! [Fri Jul 17 19:01:43 2009] [error] [client 192.168.1.100] mod_wsgi (pid=49554): Exception occurred processing WSGI script '/users/www/p07/ egg/p07/mod_wsgi/dispatch.py'., referer: http://192.168.1.100/ [Fri Jul 17 19:01:43 2009] [error] [client 192.168.1.100] TypeError: sequence of string values expected, value of type literal found, referer: http://192.168.1.100/ Running with paster server works fine with the same configuration. I'm using auth_kit for authentication see below for the login action: def login(self): if not request.environ.get('REMOTE_USER'): # This triggers the AuthKit middleware into displaying the sign-in form h.abort(401) else: # comes here if login is successful return h.redirect_to(controller='ctrl', action='actn') Much appreciated, Mircea --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
