Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 84148 invoked from network); 2 Feb 2006 15:16:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Feb 2006 15:16:29 -0000 Received: (qmail 91070 invoked by uid 500); 2 Feb 2006 15:16:19 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 90801 invoked by uid 500); 2 Feb 2006 15:16:17 -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 90790 invoked by uid 99); 2 Feb 2006 15:16:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2006 07:16:17 -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; Thu, 02 Feb 2006 07:16:17 -0800 Received: from gate0a.unix.swx.ch (gate0a [192.168.252.17]) by ns0b.swx.com (8.13.4/8.13.4) with ESMTP id k12FFtPX018479 for ; Thu, 2 Feb 2006 16:15:55 +0100 (MET) Received: from CIWMEXZSA0E.ex.ordersx.org (localhost [127.0.0.1]) by gate0a.unix.swx.ch (8.13.4/8.13.4) with ESMTP id k12FFtwL026383 for ; Thu, 2 Feb 2006 16:15:55 +0100 (MET) Content-Class: urn:content-classes:message MIME-Version: 1.0 Importance: normal Priority: normal Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Date: Thu, 2 Feb 2006 16:15:54 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Re: htaccess AuthType Basic: some files get served without a password challenge! thread-index: AcYn7EpjlZVJXQ+vQtO1Mb/KTkDDIgAHgfJw From: "Boyle Owen" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Re: htaccess AuthType Basic: some files get served without a password challenge! X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Peter > Sent: Donnerstag, 2. Februar 2006 12:27 > To: users@httpd.apache.org > Subject: [users@httpd] Re: htaccess AuthType Basic: some=20 > files get served without a password challenge! >=20 > I received this back from my hosting provider: >=20 > "Thank you for giving us that information. It appears that the > investigation is complete. We have determined that you are=20 > having problems > with password protection with your .xls files because you can=20 > not password > protect the .xls file extension with an .htaccess file in our shared > hosting environment, as it is processed by Tomcat." Aha!......... I don't recall you mentioning that your server was at your ISP or that some of the content was provided by Tomcat... So not quite so plain and simple, after all. Anyway, it looks like your apache config is redirecting requests for XLS to tomcat. Obviously, this will happen before any .htaccess file is read (the file is only read if a request results in a file access in the target dir). Therefore it skips the authentication.=20 >=20 > Any ideas to circumvent this? Thx If you don't have access to the main config - no. If you do, define the Auth directives in a container - this [I think] will get parsed before the redirect to tomcat. Or, implement the password access in Tomcat http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. =20 >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > 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 >=20 > =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