Some of the information here may be outdated, please check the book instead
[edit]

For run web2py needed the following:

  1. Place contents of web2py into the htdocs folder.

  2. From modpythonhandler.py remove Grave Accent (`) symbol at the end of file, if that exists.

  3. Create web2py_modpython.py file:

    from mod_python import apache import modpythonhandler

    def handler(req): req.subprocess_env['PATH_INFO'] = \ req.subprocess_env['SCRIPT_URL'] return modpythonhandler.handler(req)

  4. create/update .htaccess file:

    SetHandler python-program PythonHandler web2py_modpython

    PythonDebug On

niktar

© 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.