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)
Necessary steps: - Install Python 2.5 by following this wiki page - Install setuptools - Run easy_install Flup - Download and extract web2py - Run python web2py.py to create the necessary framework files - Create a file dispatch.fcgi at the root of web2py directory with the following content: Code: #!/home/youruserhere/run/bin/python import sys from flup.server.fcgi_fork import WSGIServer import gluon.main application=gluon.main.wsgibase ## or # application=gluon.main.wsgibase_with_logging WSGIServer(application).run() - make this file executable by typing chmod +x dispatch.fcgi - create or add the following lines to .htaccess: Code: RewriteEngine On RewriteBase / RewriteRule ^dispatch\.fcgi/ - [L] RewriteRule ^(.*)$ dispatch.fcgi/$1 [L] Now try and access the sub/domain on your browser and it should work! The original of this document is [here](http://wiki.dreamhost.com/Web2py)
© 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.