AlterEgo
old web2py blog
Useful Links
List all entries
Book
Interactive Examples
F.A.Q.
Free Applications
Plugins
Recipes
Demo of Admin Interface
Semantic web extension
Some of the information here may be outdated, please check the book instead
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.
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by
web2py
- design derived from a theme by
the earlybird
The content of this book is released under the
Artistic License 2.0
- Modified content cannot be reproduced.