Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 17:16:34 -0700 (PDT)
From:      Jeff Jirsa <jeff@unixconsults.com>
To:        "tonix (Antonio Nati)" <tonix@interazioni.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FreeBSD and regex and Apache
Message-ID:  <20020827171517.S5930-100000@boris.st.hmc.edu>
In-Reply-To: <5.1.1.6.0.20020828015806.00a897c8@pop.ufficiopostale.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 Aug 2002, tonix (Antonio Nati) wrote:

> I've a problem with Apache 1.3.26 on FreeBSD 4.0 (I've looked in apache
> lists, with no result up to now).
>
> <Files> and <FilesMatch> directives, that work on Linux, do not work on
> FreeBSD.
>
> <FilesMatch "^\.(.*)> 	# or simply <FilesMatch "^\.">
> 	order allow,deny
> 	deny from all
> </FilesMatch>
>
> Is there any regex library hint/problem/difference from standard I should know?
>

<Files> SHOULD work.

I've got a stock 1.3.26 setup from the ports that comes with


<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

By default.


Hope that helps,

- Jeff

-- 

Jeff Jirsa
jeff@unixconsults.com

-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827171517.S5930-100000>