Search squid archive

http_access problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux