I have setup Apache2.2/Python2.5 and the latest mod_wsgi and the
server is running well with basic hello world app (Windows Vista). I
then extracted web2py source to wsgi root and set up wsgihandler.py as
the handler. Now when I visit http://localhost I am redirected to
http://localhost/welcome/default/index/ and given an " Invalid
request" error.
Now obviously its partially working because the redirect took place,
but I can't figure out why its not working properly... any ideas?
(I'm completely new to Python, btw...)
Changes I made to config -
LoadModule wsgi_module modules/mod_wsgi.so
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "c:/wsgi"
WSGIScriptAlias / "c:/wsgi/wsgihandler.py"
<Directory "c:/wsgi">
Order allow,deny
Allow from all
</Directory>
Alias /robots.txt "c:/htdocs/robots.txt"
Alias /index.html "c:/htdocs/index.html"
Alias /images/ "c:/htdocs/images/"
</VirtualHost>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---