Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 1998 12:59:51 -0700
From:      jivko@ijs.com
To:        freebsd-isp@FreeBSD.ORG
Subject:   Is this a known Apache problem?
Message-ID:  <199808141300.NAA24825@s2.ijs.com>
In-Reply-To: <Pine.BSF.3.96.980814114423.5456J-100000@mirage.nlink.com.b r>
References:  <Pine.BSF.3.96.980815003050.4096C-100000@enya.hilink.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Could someone tell me why the following two lines in a definition of a
virtual host would not work as I would expect them to work:

Alias / /home/htmldir
ScriptAlias /cgi-bin/ /home/cgi-bin/

The server loads OK but when I try to call a CGI script, instead of
searching for in in  /home/cgi-bin/ it tries to find it in
/home/htmldir/cgi-bin/ and fails.

When I changed the order for those two lines to be

ScriptAlias /cgi-bin/ /home/cgi-bin/
Alias / /home/htmldir

everything came back to normal. 

Although I understand why it would do this, it sure sounds like a bug to
me. Is there  any particular reason for it to work this way?

Here is the configuration for the server: 
Apache/1.3.0 Ben-SSL/1.18 (Unix) FrontPage/3.0.4.2 configured -- resuming
normal operations

Thanks for the help,
Jivko


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808141300.NAA24825>