Apache and Python

Kenneth E. Lussier ken.lussier at zuken.com
Mon Apr 14 14:07:24 EDT 2003


Hi All,

Does anyone have any experience using Python scripts with Apache? I am
trying to set up a web-based application call Amphora-Lite.
Unfortunately, I have absolutly no experience with Python, and most of
the system is written in it. I can get the main page and the login to
work, but afer that, I get three frames of "Internal Server Error"
messages. My logs only show malformed header lines like this:

[Mon Apr 14 13:53:19 2003] [error] [client 42.1.9.28] malformed header
from script. Bad header=  File "/home/amphora2/classic:
/home/amphora2/classic/cgi/amphoralogo.py

In the past, using perl, this error came from not having a AddHandler
line set up, but I added the .py to the handler line in httpd.conf.
Anyone have any ideas?

TIA,
Kenny
 
-- 
----------------------------------------------------------------------------
"Tact is just *not* saying true stuff" -- Cordelia Chase

Kenneth E. Lussier
Sr. Systems Administrator
Zuken, USA
PGP KeyID CB254DD0 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xCB254DD0





More information about the gnhlug-discuss mailing list