RE: [squid-users] how to allow only one certain URL?

From: Andreas Piesk <apiesk@dont-contact.us>
Date: Mon, 28 Jan 2002 08:42:31 +0100

> From: Nicole Haehnel [mailto:Nicole.Haehnel@epost.de]
> Sent: Monday, January 28, 2002 8:16 AM
<snip>
> is it possible to allow just one URL of a server?
>
> With
> acl dst
> and
> acl dstdomain
>
> one can only allow or deny whole sites.
> I want to allow just one page.
> For example:
> http://www.hr-online.de/service/verkehr/verkehr.shtml
>
> That should be the only page accessable.

try this
acl ALLOW_THIS_ONE url_regex -i
^http://www.hr-online.de/service/verkehr/verkehr.shtml$

ciao -ap

System Administration
VIRBUS AG
Fon +49(0)341-979-7424
Fax +49(0)341-979-7409
andreas.piesk@virbus.de
www.virbus.de
Received on Mon Jan 28 2002 - 00:41:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:57 MST