Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


MrAlan

98 posts

Master Geek


#25643 27-Aug-2008 23:06
Send private message

Original Post:

 

Im trying to use SquidNT (No, I dont have a choice to switch to something else) to prevent access to some domains/sites.
Now Ive added the following into the squid.conf

acl blocked_url url_regex "c:/Squid/etc/squid-block.acl"

The way Ive read things, the above should read in anything inside the acl file and prevent access. But its not working. (yes restarted the service)
What have I missed or doing wrong ? :)

TIA

 

Hi, this is the only forum I've ever been to that locks a post after 30days if there has been no reply. Anyway, firstly you have only completed half of what's required. Firstly make sure your squid-block.acl is a plain txt file containing the relevant words/sites you want blocked.

The line acl blocked_url url_regex "c:/Squid/etc/squid-block.acl" only defines the acl, you have not yet specified how you want squid to treat it. For that you'll need to add the line: http_access deny blocked_url 

 


Create new topic

xpd

xpd
Geek of Coastguard
14115 posts

Uber Geek
+1 received by user: 4574

Retired Mod
ID Verified
Trusted
Lifetime subscriber

  #160352 28-Aug-2008 09:13
Send private message

CHeers for that :)
Ill make a note of it but looks like were going to bump off Squid at last anyway :)




XPD / Gavin

 

LinkTree

 

 

 




freitasm
BDFL - Memuneh
80646 posts

Uber Geek
+1 received by user: 41030

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#160357 28-Aug-2008 09:24
Send private message

MrAlan: Hi, this is the only forum I've ever been to that locks a post after 30days if there has been no reply.


Yes, but we implemented that because many times we saw some people that don't understand the concept of "solution was posted case closed" write a reply with words like "My problem is not like this, but can you help me with [insert name of completely unrelated product/service/software]" to an old discussion.

People complained, and we listened.




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.