Hello I want to run web2py from a user that is not root on a debian vserver. The problem is that only the root user is allowed to start applications that use port 80. >From what I understand right now I have to create an init script under /etc/init.d/ that will allow a certain user to use prot 80. How do I do that?
On the other hand I want to run one web2py instance on the server and redirect requests for a specific domain name to a specific applications www.foobar.com -> /foobar www.barbar.com -> /barbar Is that possible with web2py routes? Or should I just install apache/ lighttpd and configure these servers to redirect to the right app? If so which should I use apache or lighttpd? Or is it in any case better to use a different webserver as a gate to web2py since they are caching requests and lower the load that the web2py server gets? The book states "While this is a fast web server, it has limited configuration capabilities. For this reason it is best to deploy web2py behind Apache, Lighttpd or Cherokee. These are free and open- source web servers that are customizable and have been proven to be reliable in high traffic production environments." What are the limits of configuration? thanks for you help btw the book states "web2py comes with an SSL enabled web server, the CherryPy wsgiserver", I guess this should be changed to "rocket"