httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Strike <>
Subject Re: [users@httpd] Alternate cgi-bin
Date Tue, 22 Apr 2003 18:39:24 GMT
I'm running into a similar problem with the Alias command in <VirtualHost>.
I am under the impression that any directives given within a <VirtualHost>
container will supersede directives given outside this container.  If I have
the 'Alias /cgi-bin/ /var/www/cgi-bin/' in the main body of httpd.conf and
then put 'Alias /cgi-bin/ /var/www/some_other_cgi-bin/' within a
<VirtualHost> container, the latter will supersede the default statement
earlier in the .conf file.

My problem is that I can't get Alias statements within my <VirtualHost>
containers to work.

Tom S.

----- Original Message -----
From: "Joshua Slive" <>
To: <>
Sent: Tuesday, April 22, 2003 9:10 AM
Subject: Re: [users@httpd] Alternate cgi-bin

> On Tue, 22 Apr 2003, Morris Duane-rat924 wrote:
> > I have the public_html version working and the standard apache location
working, but cannot get a virtual host cgi-bin working.  Still keeps looking
in /usr/local/apache/cgi-bin instead of virtual site.  Must be missing
something simple.
> >
> You can't have two different directories called /cgi-bin.  How is apache
> supposed to know which to use?  Either remove the global one, or give a
> different name to the alternate cgi-bin.
> Joshua.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message