Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 3157 invoked by uid 500); 29 Nov 2002 15:52:13 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 3146 invoked from network); 29 Nov 2002 15:52:13 -0000 Received: from lakemtao04.cox.net (68.1.17.241) by daedalus.apache.org with SMTP; 29 Nov 2002 15:52:13 -0000 Received: from smtp.east.cox.net ([172.18.52.55]) by lakemtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20021129155215.HYKV1248.lakemtao04.cox.net@smtp.east.cox.net> for ; Fri, 29 Nov 2002 10:52:15 -0500 From: To: users@httpd.apache.org Date: Fri, 29 Nov 2002 10:52:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20021129155215.HYKV1248.lakemtao04.cox.net@smtp.east.cox.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Regular Expression matching in Apache 2 I am trying to setup a webdav server on apache2 where I can limit auths to certain directories based on the part of the directory path being equal to the entered username. I ran across a couple of threads and an Apache 1.3 book explaining to do this by using a DirectoryMatch, and using a "require user $1", the $1 being part of the path that matches, ex. . This does not work at all. Posting an AuthName $1 brings back a $1 on the box, so I am assuming that I am not accessing the $1 correctly. My question, should this work? Is there a way to auth like this in apache without repeating the directory statement? I am authing through ldap, which works fine, but I don't know if this regexp flexibility carried over to apache 2. Thanks! Tom --------------------------------------------------------------------- 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