Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 29167 invoked from network); 14 Mar 2006 12:12:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 12:12:04 -0000 Received: (qmail 88740 invoked by uid 500); 14 Mar 2006 12:11:55 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88706 invoked by uid 500); 14 Mar 2006 12:11:54 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88676 invoked by uid 99); 14 Mar 2006 12:11:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 04:11:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.109.240.235] (HELO ns0b.swx.com) (146.109.240.235) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 04:11:53 -0800 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0b.swx.com (8.13.4/8.13.4) with ESMTP id k2ECBVf4029728 for ; Tue, 14 Mar 2006 13:11:31 +0100 (MET) Received: from CIWMEXZSA0E.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.13.4/8.13.4) with ESMTP id k2ECBVuE008971 for ; Tue, 14 Mar 2006 13:11:31 +0100 (MET) Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Importance: normal Priority: normal Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Date: Tue, 14 Mar 2006 13:11:31 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Basic Authentication not working in Gentoo Linux thread-index: AcZHXO9dbm2KAXXkRFS7/timsFEJNAAApuxQ From: "Boyle Owen" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Basic Authentication not working in Gentoo Linux X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Manilal K M [mailto:libregeek@gmail.com]=20 > Sent: Dienstag, 14. M=E4rz 2006 12:46 > To: users@httpd.apache.org > Subject: Re: [users@httpd] Basic Authentication not working=20 > in Gentoo Linux >=20 > On 14/03/06, Boyle Owen wrote: > > Another point: > > > > Are you sure you are accessing the resource via this VH? I=20 > notice it's a cgi-bin directory... Is there another VH=20 > container that could be allowing access via a ScriptAlias or=20 > something? > There is no other virtual host. But a scriptalias tag which=20 > is described below. >=20 > > > > The point I'm making is that your access control is only=20 > valid in the scope of > yes. I am trying to access like this: > http://anaconda.localhost.com/cgi-bin/BackupPC/BackupPC_Admin > > > > BTW - I guess you are obscuring a real domain name there?=20 > NB - it's a bad idea to put a FQDN in a VH, it's better to=20 > use an IP address (with an FQDN, apache needs functinal DNS=20 > to start. And it's slower). > I have just hide the original domain name due to security issues >=20 > > >=20 > 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 = 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=20 - read up on CGIs (difference between ScriptAlias and ExecCGI) - you're = a bit mixed up there too... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 > When I commented it then another error occured "404 Not Found" >=20 > if this directive is uncommented then again it doesn't ask=20 > for authentication. >=20 > regards > Manilal > =20 =20 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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org