|
dave selby
dave6502 at googlemail.com
Sat Jul 26 18:26:00 EDT 2008
I have a file test.py (ok not so original) containing ....
#!/usr/bin/env python
from mod_python import apache
def handler(req):
req.content_type = 'text/plain'
req.write("Hello World!")
return apache.OK
When I add the following to my vhost and access with it with a URL of
http://localhost:8085/test/ it works as expected ...
AddHandler mod_python .py
PythonHandler test
PythonDebug On
However I need mod_python.publisher so I substitute the above for ...
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
And access with it with a URL of http://localhost:8085/test/ and I get
'The requested URL /test.py/ was not found on this server.'
Can anyone tell me what I am doing wrong ?
Cheers
Dave
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
|