httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Johnson <...@akwebsoft.com>
Subject Re: [users@httpd] ScriptAlias/cgi-bin for apache instance on port 8080
Date Wed, 14 Nov 2012 18:14:56 GMT
I have made some tweaks to httpd.conf without
  success
  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
            Order allow,deny
            Allow from all
        </Directory>
    </VirtualHost>
    # 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
http://localhost/cgi-bin/cgitest.py
I get the output I expect.
If I point my browser to
http://localhost:8080/cgi-bin/cgitest.py
I still get a Not Found error.

/usr/sbin/apachectl configtest
gives me "Syntax OK"
thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message