Hi All,
I have to install web2py as part existing VirtualHost. It is serving a few
directories, and web2py folder is one of them.
this is my settings under <VirtualHost superhostname:80>
WSGIScriptAlias /newstatus /srv/www/hostRoot/web2py/wsgihandler.py
<Directory "/srv/www/hostRoot/web2py">
AllowOverride None
Order Allow,Deny
Allow from all
<Files wsgihandler.py>
Allow from all
</Files>
</Directory>
The first problem is
When I try to access http://superhostname/web2py, I got invalid request
error in the browser
What configuration should I set for apache server?
The other problem is about web2py wsgihandler
And whn I try http://superhostname/web2py/, I got on error message from
apache log, File does not exist: /srv/www/hostRoot/welcome
How do I route correctly to /srv/www/hostRoot/web2py/welcome ?
And lastly,
When I try http://superhostname/web2py/welcome, the default index is
served, but all static files are failed to load,
because, I think, it is trying to search under hostRoot/static,
how do I force config to search under hostRoot/web2py/static ?
Maybe the second and third problem are related.
Cheers,
Chuan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.