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

For run web2py needed the following:

  1. Place contents of web2py into the htdocs folder.

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

  3. Create file:

    from mod_python import apache import modpythonhandler

    def handler(req): req.subprocessenv['PATHINFO'] = \ req.subprocessenv['SCRIPTURL'] return modpythonhandler.handler(req)

  4. create/update .htaccess file:

    SetHandler python-program PythonHandler web2py_modpython

    PythonDebug On


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