[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ScriptAlises not working




On Thu, 27 Feb 2003, Hobbs, Richard wrote:

> Hello,
>
> I'm having a real problem getting ScriptAliases to work... I'm running
> Apache/1.3.26 (Unix) Debian GNU/Linux, but if you visit:
>
>   http://broadband.mongeese.co.uk/cgi-bin
>
> ...it says it can't be found... but from httpd.conf:
>
>   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>
>   <Directory /usr/lib/cgi-bin/>
>       AllowOverride None
>       Options ExecCGI
>       Order allow,deny
>       Allow from all
>   </Directory>
>

Also, if you want to be able to goto a folder don't you have to put the
ending "/" on or else setup your alias somehting to the effect of:

ScriptAlias /cgi-bin /usr/lib/cgi-bin

  as opposed to

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

The error that was mentioned denoted not found where as if browsing was
turned off the error should be Access Denied...

Or maybe I have no clue... It's been a while since I've tinkered with
apache 1.x

-Tim

                     < PRE >
##--##--##--##--##--##--##--##--##--##--##--##--##
|             T I M    S P R I G G S             |
|        Assistant Sysadmin - Development        |
|        College of Engineering and Mines        |
|            ECE206A - (520) 621-3185            |
##--##--##--##--##--##--##--##--##--##--##--##--##
                     </PRE >





Reply to: