Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 83157 invoked from network); 14 Mar 2011 23:23:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Mar 2011 23:23:15 -0000 Received: (qmail 65220 invoked by uid 500); 14 Mar 2011 23:23:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 65118 invoked by uid 500); 14 Mar 2011 23:23:12 -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 65110 invoked by uid 99); 14 Mar 2011 23:23:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 23:23:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of icicimov@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2011 23:23:05 +0000 Received: by qwj8 with SMTP id 8so34467qwj.18 for ; Mon, 14 Mar 2011 16:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=vbGosC91r1qw1OhcpOmA7HpvrShY7zJJTC4Q1+0cYn0=; b=Xmi+mNv4Z9VdtVduWfzQSz7fC3wANi/Z3yzQch3PrFd7EUhkv/EKxj8zWQciU7zn/y sGV4wwmLh/lpWOhzF7p6p8e0C4UML+agNOrNkMfMXToamgqS/U26PLNIRqnnjuYc355W 3lPe3MefJJHJqu7B73ILhbhk43Ajmki+hY7Cc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aSuiCcyYDidNc901nmM5uvGQGv6X1v8IMXx/KUuGdHuQMJ8wz4xkUHnlj93bDGEbPL kTfqsY4QEci0kSmWuZkZQ5NTu4kh9l3xeanjCiJrN1sXl1qYFG/htDZB7Az5V+ggJhKl 95NNhK/4BUGKjKMTcySMNRNMfxw2V74PtM+tY= MIME-Version: 1.0 Received: by 10.229.130.155 with SMTP id t27mr7326009qcs.276.1300144964873; Mon, 14 Mar 2011 16:22:44 -0700 (PDT) Received: by 10.229.101.202 with HTTP; Mon, 14 Mar 2011 16:22:44 -0700 (PDT) In-Reply-To: <4D7EA1F0.1000905@bellsouth.net> References: <4D7EA1F0.1000905@bellsouth.net> Date: Tue, 15 Mar 2011 10:22:44 +1100 Message-ID: From: Igor Cicimov To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001517588b7ec9b01f049e79964d Subject: Re: [users@httpd] FilesMatch Problem --001517588b7ec9b01f049e79964d Content-Type: text/plain; charset=ISO-8859-1 http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizationRequirements Check the Satisfy directive. On Tue, Mar 15, 2011 at 10:17 AM, Dennis Putnam wrote: > Sometimes the config file seems like black magic and I am no magician. I > have a password required for one of my directories but I need for a > couple of files to be unprotected. The authorization works just fine but > it also requires authorization for the FilesMatch files. Here is my > config file for that directory: > > > AuthName "xxxxxxxxx" > AuthType Basic > AuthMySQLUser xxxxxxxx > AuthMySQLPassword xxxxxxxxx > AuthMySQLEnable on > AuthMySQLPwEncryption scrambled > AuthMySQLDB cufsalumni > AuthMySQLUserTable alumni > AuthMySQLNameField username > AuthMySQLPasswordField pwdp > require valid-user > > allow from all > > > > Is there some directive I need to add to turn off authentication for > these files? Thanks. > > --001517588b7ec9b01f049e79964d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable http://wiki.apache.org/httpd/BypassAuthenticationOrAuthorizat= ionRequirements

Check the Satisfy directive.

On Tue, Mar 15, 2011 at 10:17 AM, Dennis Putnam <dap1@bellsouth.net> wrote:
Sometimes the config file seems like black magic and I am no magician. I have a password required for one of my directories but I need for a
couple of files to be unprotected. The authorization works just fine but it also requires authorization for the FilesMatch files. Here is my
config file for that directory:

<Directory "/var/www/html/cufs">
AuthName "xxxxxxxxx"
AuthType Basic
AuthMySQLUser xxxxxxxx
AuthMySQLPassword xxxxxxxxx
AuthMySQLEnable on
AuthMySQLPwEncryption scrambled
AuthMySQLDB cufsalumni
AuthMySQLUserTable alumni
AuthMySQLNameField username
AuthMySQLPasswordField pwdp
require valid-user
<FilesMatch "index.htm,cufslogin.html,cufsregister.php"> allow from all
</FilesMatch>
</Directory>

Is there some directive I need to add to turn off authentication for
these files? Thanks.


--001517588b7ec9b01f049e79964d--