Re: How to allow access to only certain directories?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 02 Apr 1999 13:43:35 +0200

John Risby wrote:

> Is it possible to allow access only to certain directories on a
> particular dstdomain?

Of course. Either use url_regex, or a combination of dstdomain and
urlpath_regex.

url_regex based:

acl users-directory url_regex ^http://www.domain.com/users/directory
http_access allow users-directory

dstdomain + urlpath_regex based:

acl www.domain.com dstdomain www.domain.com
acl users-directory urlpath_regex ^/users/directory
http_access allos www.domain.com users-directory

--
Henrik Nordstrom
Spare time Squid hacker
Received on Fri Apr 02 1999 - 04:36:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:41 MST