config'in apache for python
Richard R Urena
urena at lessing.oit.umass.edu
Sun Mar 12 23:04:38 CET 2000
Matthew Barre <mbarre at mac.com> writes:
>Yes I'm trying to make it so that when I refer to a cgi script in my cgi bin
>the script is executed instead of being just printed to the browser.
1) I made sure these lines were uncommented in httpd.conf:
ScriptAlias /cgi-bin/ "/var/apache/cgi-bin/"
Allow from all
(this assumes Apache was built with mod_alias, which is
2) chmod 755 on the scripts themselves (and of course they
have the #!/usr/bin/python magic in the first line)
This is running Apache 1.3.6 (and up) on Linux
More information about the Python-list