[mod_python] seeing python code instead of output

David Bear David.Bear at asu.edu
Mon Jun 4 16:25:36 EDT 2007

I've munged my configuration somehow. 

I have in my .htaccess file the following:

  AddHandler mod-python .py
  PythonHandler s2
  PythonDebug On

Yet, when I click on s2.py I see the contents of the python script,
not the output of all my req.write statements.

I'm sure this is address in the docs somewhere but I'n not getting any
hits when googling for it.

any pointers?

David Bear
phone: 	602-496-0424
fax: 	602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
 "Beware the IP portfolio, everyone will be suspect of trespassing"

More information about the Mod_python mailing list