For run web2py I needed the following:
1. Place contents of web2py in a htdocs folder
2. From modpythonhandler.py remove Grave Accent (`) symbol at the end
of file.
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---