On Nov 15, 9:18 am, vlatko <[email protected]> wrote:
> try this line
>
> WSGIScriptAlias /test "/var/www/webpy/testapp/"
> AddType text/html .py
>
> change ScriptAlias with WSGIScript
> and test
There has been no indication that he is using mod_wsgi so that will
not help.
That WSGIScriptAlias line is wrong anyway. If the final argument is a
directory and you are intending all script files in the directory to
be interpreted as being for mod_wsgi, it should be:
WSGIScriptAlias /test/ /var/www/webpy/testapp/
If the final argument is a WSGI script file, it should be:
WSGIScriptAlias /test /var/www/webpy/testapp
You should not have a trailing slash on final argument if its is a
script file. If it is required for some reason, then web.py is not
honouring WSGI request variables properly or is otherwise broken in
respect of handling trailing slash redirects.
I have pointed out before that web.py wiki documentation on mod_wsgi
is wrong in this respect.
Anyway, as mentioned above, he is not trying to use mod_wsgi and is
instead using CGI as was confirmed from a prior test.
The stack trace originally provided suggests that FASTCGI code in
web.py is being triggered instead of CGI code.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---