AddHandler cgi-script .cgi .pl .py

in your case for python scripts

On Thu, Nov 15, 2012 at 9:16 AM, Igor Cicimov <> wrote:

On Thu, Nov 15, 2012 at 5:14 AM, Tim Johnson <> wrote:
I have made some tweaks to httpd.conf without
  Here's what I have :
     # for port 8080
    <VirtualHost *:8080>
        DocumentRoot "/Users/http"
        ScriptAlias /cgi-bin/ "/Users/http/run/"
        ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Users/http/run/$1"
        <Directory "/Users/http/run">
            AllowOverride None
            Options None

This is wrong, it should be

Options +ExecCGI
AddHandler cgi-script .cgi .pl

you need to tell apache that the files in that directory are cgi scripts. Please read

its all in there.

            Order allow,deny
            Allow from all
    # end port 8080
These are the same settings as for the default (port 80) settings.
However, something is still lacking.
If I point my browser to
I get the output I expect.
If I point my browser to
I still get a Not Found error.

/usr/sbin/apachectl configtest
gives me "Syntax OK"
tim at tee jay forty nine dot com or akwebsoft dot com

To unsubscribe, e-mail:
For additional commands, e-mail: