python module configuration in apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bashustbiju
    New Member
    • Oct 2006
    • 2

    python module configuration in apache

    Hi

    Please some one help for configuring apache to use python scripts
    I made some changes.

    the index.py script contains the entry
    from mod_python import apache
    from mod_python import Session, Cookie, util

    def index(req):
    util.redirect(r eq, "mptest.py/formLogin")

    So when accessing th exact url i am getting the page as

    "Not Found

    The requested URL /mptest.py/formLogin was not found on this server."

    In the apache configuration file i am using
    AddHandler mod_python .py
    PythonHandler mod_python.publ isher
    PythonDebug on

    The mod_python.so is already loaded

    Can someone help?
Working...