[mod_python] seeing python code instead of output

David Bear David.Bear at asu.edu
Mon Jun 4 18:39:12 EDT 2007


arg... sorry to waste everyone's time...

On Tue, Jun 05, 2007 at 07:06:37AM +1000, Graham Dumpleton wrote:
> Do you really have 'mod-python' which a hyphen, instead of
> 'mod_python' with an underscore?
> 
> On 05/06/07, David Bear <David.Bear at asu.edu> wrote:
> >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"
> >_______________________________________________
> >Mod_python mailing list
> >Mod_python at modpython.org
> >http://mailman.modpython.org/mailman/listinfo/mod_python
> >

-- 
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