Overview of features
Home
Read this first
About
web2py is 100% free
Download
Start learning web2py today
Documentation
Authors and contributors
Staff
Affiliated companies
Support
Edit page
Title:
Security Code:
Body:
(use
this
wiki markup)
In a production environment you should use web2py with Apache or lighttpd. With Apache there are two ways. ## The easy way install mod_proxy and send all your requests to the web2py web server. You would put something like this in your ``/etc/apache2/sites-available/default`` NameVirtualHost *:80 <VirtualHost *:80> <Location "/"> Order deny,allow Allow from all ProxyPass http://127.0.0.1:8000/ ProxyPassReverse http://127.0.0.1:8000/ </Location> LogFormat "%h %l %u %t "%r" %>s %b" common CustomLog /var/log/apache2/access.log common </VirtualHost> or you can use mod_wsgi. web2py is wsgi compliant. This requires that you use the source version of web2py and you read the mod_wsgi documentation.