Hi All,
I setup a squid 2.4 (stable1) in accelerator model. Configuration
for the accelerator is:
(1)http_port 80
httpd_accel_with_proxy is off.
httpd_accel_host a.b.c.d <--- IP address of destination web server
httpd_accel_port 80
(2)Change the DNS configure (www.example.com) and point to the
accelerator IP
Now I would like to tune on an access control. I hope to allow a
single subnet (a.b.c.0/255.255.255.0) to access a specific url
(http://www.example.com/~information/protect/) and include those
information inside this directory . Any other client that tries to
access the special_url is denied.
Following to the FAQ 10.16, I can't make it work. Seems I made
confusion in regular expression or somthing else.
Here is my setting in ACL
acl specialclient src a.b.c.0/255.255.255.0
acl specialurl url_regx ^http://www.example.com/~information/protect/$
http_access allow specialclient specialurl
http_access deny specialurl
Could anyone point out my fault? Thanks in advance.
PY
HKBU
Received on Thu Apr 19 2001 - 09:35:46 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:22 MST