April 14th, 2005, 10:51 AM
Mod_python handler problems.
I am trying to write a custom mod_python handler.
I use the fallowing .htaccess file:
My script is the following:
from mod_python import apache
req.write("We dont exist")
The problem I have is that if the request isn't made to mysite.com/myHandler it downloads the script output instead of printing the output to the browser. Either way the output is correct so I know the script is working correctly. Any ideas why it would be downloading the output instead of printing it?
April 14th, 2005, 12:19 PM
Well what did you change in the handler?
I'll learn this stuff someday.
April 14th, 2005, 01:07 PM
It is mod_python. I used the word custom as aposed to the provided publisher handler. Custom is normal, I think its more apache problem then python.