Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 9015 invoked from network); 27 Jul 2008 08:45:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2008 08:45:43 -0000 Received: (qmail 76784 invoked by uid 500); 27 Jul 2008 08:45:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76765 invoked by uid 500); 27 Jul 2008 08:45: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 76754 invoked by uid 99); 27 Jul 2008 08:45:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 01:45:31 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ganeshapache@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jul 2008 08:44:37 +0000 Received: by wf-out-1314.google.com with SMTP id 24so4841237wfg.15 for ; Sun, 27 Jul 2008 01:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=po0jewXHN75qqdsY2/y9DKpWJcjXZwDjXS2L0FGShiU=; b=F0CrujNYtfCTsv3rVZqlJajhHO+w7SXSRGZ76JOoc4NdekzERJ8wmt1hjInwYkfGxL X12sPwPPsX5/n5hGaBTYcMnEhnr3uK2fUONfxP+GhD7CrXM0lJHJOopSHQrKvnLFwl+l VrbyaLZz53U+a8QCSRY6AWgqNsiPm89EOZe4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=uvUbmvKwdgjRmR6FBQ5EVD4F8YWXWEUSv8wWc6+lZWqf2ws4vfzBUT5uANsLIdTtiB GgRduXf1C6qtQNyxR8PnZEWbKCea4d4tqjv/q+5B/Y95WAEw2rVvsUTL3hPq6w1SMNyd 4ruq8f9EbpcTBf0ldbLvMFGKpx7wXmPyIL+I4= Received: by 10.142.165.14 with SMTP id n14mr1167015wfe.77.1217148302844; Sun, 27 Jul 2008 01:45:02 -0700 (PDT) Received: by 10.142.113.19 with HTTP; Sun, 27 Jul 2008 01:45:02 -0700 (PDT) Message-ID: Date: Sun, 27 Jul 2008 14:15:02 +0530 From: "ganesh ganesh" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5698_14155797.1217148302841" References: <656f98ac0807250800p5ae32c67v1624512cec2cde5a@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] What is the difference between and ? ------=_Part_5698_14155797.1217148302841 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, The basic difference is while using the path should be absolute and should be there on the filesystem. But there is no need for any absolute path.... Also if your Document root is /opt/html and assume there are two other folders like /opt/html/test/test1 and /opt/html/support/test now on the doucument root on .htaccess if you have used and denied for everyone, access for both /opt/html/test & /opt/html/support/test will be blocked which is not with the case of Regards. On Fri, Jul 25, 2008 at 8:34 PM, Joshua Slive wrote: > On Fri, Jul 25, 2008 at 11:00 AM, sepeth wrote: > > Hi! > > > > What is the difference between and ? > > > > just curiosity. > > None. Just a change in syntax over time because is a > little obscure. They work exactly the same. > > Joshua. > > --------------------------------------------------------------------- > 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 > > -- Regards, GANESH. ------=_Part_5698_14155797.1217148302841 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,

   The basic difference is  while using <Directory>  the path should be absolute and should be there on the filesystem. But <DirectoryMatch> there is no need for any absolute path.... Also if your Document root is /opt/html and assume there are two other folders like /opt/html/test/test1 and /opt/html/support/test now on the doucument root on .htaccess if you have used <DirectoryMatch test> and denied for everyone, access for both /opt/html/test & /opt/html/support/test will be blocked which is not with the case of <Directory>

Regards.

On Fri, Jul 25, 2008 at 8:34 PM, Joshua Slive <joshua@slive.ca> wrote:
On Fri, Jul 25, 2008 at 11:00 AM, sepeth <sepeth@gmail.com> wrote:
> Hi!
>
> What is the difference between <Directory ~> and <DirectoryMatch>?
>
> just curiosity.

None. Just a change in syntax over time because <Directory ~> is a
little obscure. They work exactly the same.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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




--
Regards,
GANESH.
------=_Part_5698_14155797.1217148302841--