Newbie: How do you enable python scripts in apache server?

Husam husam at
Thu Jun 5 20:13:50 CEST 2003

>      cgi-bin/            root for cgis
>        execute, and report out what it generates
> If you put your code at, the server thinks you just mean to
> report the raw text (your symptom).  If you put it at, then
> the server will know you mena it to be executed.

Yes, the script sits in /var/www/cgi-bin/, which is the root directoy of the
domain the machine serves.
Also, I chmod +x, but no go.

More information about the Python-list mailing list