httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Basic Authentication not working in Gentoo Linux
Date Tue, 14 Mar 2006 12:11:31 GMT
> -----Original Message-----
> From: Manilal K M [] 
> Sent: Dienstag, 14. März 2006 12:46
> To:
> Subject: Re: [users@httpd] Basic Authentication not working 
> in Gentoo Linux
> On 14/03/06, Boyle Owen <> wrote:
> > Another point:
> >
> > Are you sure you are accessing the resource via this VH? I 
> notice it's a cgi-bin directory... Is there another VH 
> container that could be allowing access via a ScriptAlias or 
> something?
> There is no other virtual host. But a scriptalias tag which 
> is described below.
> >
> > The point I'm making is that your access control is only 
> valid in the scope of <VirtualHost>
> yes. I am trying to access like this:
> >
> > BTW - I guess you are obscuring a real domain name there? 
> NB - it's a bad idea to put a FQDN in a VH, it's better to 
> use an IP address (with an FQDN, apache needs functinal DNS 
> to start. And it's slower).
> I have just hide the original domain name due to security issues
> >
> I have a ScriptAlias directive like this :
> ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/

Aha.... but where is this directive? If it's in another VH, or the "main config" then your
directives in <VirtualHost> will never get used...

Have a think about scoping and where each directive should be...

I just saw your next message - (where you get it working with the static file directory)..
Things to try:

- move the ScriptAlias into the VH 
- read up on CGIs (difference between ScriptAlias and ExecCGI) - you're a bit mixed up there

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> When I commented it then another error occured "404 Not Found"
> if this directive is uncommented then again it doesn't ask 
> for authentication.
> regards
> Manilal
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

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