Connecting Tech Pros Worldwide Help | Site Map

Apache python integration

Newbie
 
Join Date: Oct 2006
Posts: 2
#1: Oct 26 '06
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(req, "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.publisher
PythonDebug on

The mod_python.so is already loaded

Can someone help?
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#2: Nov 7 '06

re: Apache python integration


bashustbiju-

Try this: http://orafaq.com/faq/why_does_one_g...on_this_server
Reply


Similar Unix / Linux / BSD bytes