The manual is incorrect. web2py now includes

web2py/modpythonhandler.py

On Apr 24, 1:10 pm, BlogueroConnor <sba...@gmail.com> wrote:
> On Mar 3, 11:32 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > I don't know what it is you are even trying to do, nor even have the
> > code which is raising the error. The last web2py I downloaded doesn't
> > have that file in it, it only has 'modpythonhandler.py'.
>
> Hello, you don't have such a file because it is not provided by
> web2py, please read here:http://web2py.com/book/default/section/11/8
>
> ===========================================================
> In the web2py folder, create a file "web2py_modpython.py" file with
> the following contents:
>
> from mod_python import apache import modpythonhandler
>
> def handler(req):
>     req.subprocess_env['PATH_INFO'] = \
>         req.subprocess_env['SCRIPT_URL']
>     return modpythonhandler.handler(req)
> ===========================================================
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to