April 14th, 2005, 10:51 AM
Join Date: May 2004
Location: Dallas, TX
Time spent in forums: 8 h 28 m 15 sec
Reputation Power: 10
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?