Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF32410CE4 for ; Fri, 25 Oct 2013 10:37:49 +0000 (UTC) Received: (qmail 55166 invoked by uid 500); 25 Oct 2013 10:37:40 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 55150 invoked by uid 500); 25 Oct 2013 10:37:32 -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 55142 invoked by uid 99); 25 Oct 2013 10:37:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 10:37:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edwardquick@hotmail.com designates 157.55.1.149 as permitted sender) Received: from [157.55.1.149] (HELO dub0-omc2-s10.dub0.hotmail.com) (157.55.1.149) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 10:37:21 +0000 Received: from DUB122-W36 ([157.55.1.138]) by dub0-omc2-s10.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 25 Oct 2013 03:37:00 -0700 X-TMN: [H6pQYl94PNjQq8VoLJKBMcyW8C+PTBQH] X-Originating-Email: [edwardquick@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_cb6440fe-0ab7-4a8c-a4df-0ce606bc76b3_" From: Edward Quick To: "users@httpd.apache.org" Date: Fri, 25 Oct 2013 10:37:00 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 25 Oct 2013 10:37:00.0973 (UTC) FILETIME=[235565D0:01CED16E] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] protecting a list of specific urls --_cb6440fe-0ab7-4a8c-a4df-0ce606bc76b3_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi group=2C I have a list of specific urls I want to protect=2C for example: /site1/abc /site2/tux /site3/zzz which I can configure in separate location blocks like below and that works= fine. However I was wondering if there is a simpler way I can do this like= a url whitelist file instead? Thanks=2C Ed AuthType Basic AuthName "Administrators" AuthBasicProvider ldap-centos Require valid-user AuthType Basic AuthName "Administrators" AuthBasicProvider ldap-centos Require valid-user AuthType Basic AuthName "Administrators" AuthBasicProvider ldap-centos Require valid-user = --_cb6440fe-0ab7-4a8c-a4df-0ce606bc76b3_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi group=2C

I have a list= of specific urls I want to protect=2C for example:

/site1/abc
/s= ite2/tux
/site3/zzz

which I can configure in separate location bl= ocks like below and that works fine. However I was wondering if there is a = simpler way I can do this like a url whitelist file instead?

Thanks= =2C
Ed

<=3BLocation /site1/abc>=3B
 =3B =3B = =3B =3B =3B =3B =3B AuthType Basic
 =3B =3B = =3B =3B =3B =3B =3B AuthName "Administrators"
 =3B&n= bsp=3B =3B =3B =3B =3B =3B AuthBasicProvider ldap-cento= s
 =3B =3B =3B =3B =3B =3B =3B Require valid= -user
<=3B/Location>=3B


<=3BLocation /site2/tux>=3B =3B =3B =3B =3B =3B =3B =3B AuthType Basic =3B =3B =3B =3B =3B =3B =3B AuthName "Admini= strators"
 =3B =3B =3B =3B =3B =3B =3B AuthB= asicProvider ldap-centos
 =3B =3B =3B =3B =3B = =3B =3B Require valid-user
<=3B/Location>=3B

<=3BLocati= on /site3/zzz>=3B
 =3B =3B =3B =3B =3B =3B&nbs= p=3B AuthType Basic
 =3B =3B =3B =3B =3B =3B&nbs= p=3B AuthName "Administrators"
 =3B =3B =3B =3B =3B&= nbsp=3B =3B AuthBasicProvider ldap-centos
 =3B =3B =3B&n= bsp=3B =3B =3B =3B Require valid-user
<=3B/Location>=3B<= br>
= --_cb6440fe-0ab7-4a8c-a4df-0ce606bc76b3_--