Peter Wong
needyourhelp at mail.com
Fri Jul 23 21:17:15 EDT 2004
Hi, Running RedHat 9 (Shrike; 2.4.20-8) using supplied apache (2.0.40) -- mod_python already included. Followed the instructions in the Manual for testing (sec. 2.4) ... * added this to my httpd.conf: <Directory /some/directory/htdocs/test> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory> * mptest.py contains: from mod_python import apache def handler(req): req.write("Hello World!") return apache.OK * pointed my browser to http://server/mptest.py and I get this page back: from mod_python import apache def handler(req): req.write("Hello World!") return apache.OK There are no errors in the error_log What's wrong??? Thanks, Paul -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm
|