[mod_python] apache configuration

Francis West francis.west at ntlworld.com
Sun Aug 26 15:29:34 EDT 2007


Hello,
    i just picked up mod_python today,  I wanted to build a system where 
I could handle all requests under a certain director.  for example:

my apache config looks something like this:

    Alias /learning/ "/script/home/learning/"
    <Directory "/script/home/learning/">

        DirectoryIndex index.py

        Options Indexes MultiViews FollowSymLinks
        AddHandler mod_python .py
        PythonHandler index
        PythonDebug On

    </Directory>


what i would like to do next is have all requests to 
/learning/xxx.anything get processed by the index.py


Thanks
Francis


More information about the Mod_python mailing list