[mod_python] Apache Configuration Help

David Worley dworley at communityconnect.com
Wed Apr 19 14:00:12 EDT 2006


I'm trying to get Apache to look up a couple directories for a python
script, so in my httpd.conf file I've added the following:

<Directory 'C:\Program Files\Apache Group\Apache2\htdocs\mg\css'>
	AddHandler python-program .css
	PythonHandler switch
	PythonDebug On
</Directory>

As far as I understand apache, this is saying any file in this directory
will be handled by the file "switch.py".

Now, what I need is for switch.py to be locate in the \htdocs\directory.

Does anyone know how to go about this?

Thanks!

===============================
David Worley
Senior Front End Developer
dworley at communityconnect.com
212.431.4477x390
=============================== 



More information about the Mod_python mailing list