[squid-users] http_access problems

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Sat, 23 Jul 2005 20:32:38 +0200

Hello,

I need to show users a "welcome" page before they start browsing. on page
http://marc.theaimsgroup.com/?l=squid-users&m=108255434319738&w=2
I found out some hints/settings (thanks Henrik) and set it up in my browser,
although with small changes:

external_acl_type session ttl=300 negative_ttl=0 children=1 %SRC /usr/lib/squid/redirect.nextra

acl session external session
acl to_nextra url_regex ^http://www.nextra.sk/[deleted]
deny_info http://www.nextra.sk/[deleted]

http_access allow to_nextra
http_access allow session
http_access deny all

However this http_access directives did not work. It didn't work - requests
were denied. I wonder, because I found out that this configuration works:

http_access deny !to_nextra !session
http_access allow all

However I like the first one a bit more :)

(acess from outside our network is filtered before these access lists, so
I'm sure only our IP spaces will be allowed)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states. 
Received on Sat Jul 23 2005 - 12:32:41 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT