Results 1 to 6 of 6
Does anyone how to add and remove / allow certain websites in squid im totally stumped...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-11-2005 #1Just Joined!
- Join Date
- Mar 2005
- Location
- Calumet, MI
- Posts
- 14
adding / removing in squid
Does anyone how to add and remove / allow certain websites in squid im totally stumped
- 03-11-2005 #2Linux User
- Join Date
- Feb 2005
- Posts
- 290
# stupid lzio.com worm...
acl lzio url_regex lzio.com
http_access deny lzio
# created on xx/x/xxxx for all gov.my
acl gov url_regex gov.my
http_access allow gov
- 03-11-2005 #3Just Joined!
- Join Date
- Mar 2005
- Location
- Calumet, MI
- Posts
- 14
so where do i add that? and i though there was a way to add it by the command line
- 03-11-2005 #4Linux User
- Join Date
- Feb 2005
- Posts
- 290
add those into your squid.conf. the squid.conf that comes default should havve plenty of examples in it, for redhat, it's normally located in /etc/squid/
- 03-11-2005 #5Just Joined!
- Join Date
- Mar 2005
- Location
- Calumet, MI
- Posts
- 14
lets say i wanted to allow a domain...
lets say the domain pcmx-mi.com
what would i do?
lets also say i want to remove access to google.com
what would i do?
cane you make me what it should be? in a config file or w/e?
- 03-11-2005 #6Linux User
- Join Date
- Feb 2005
- Posts
- 290
url_regex works in the way that it search for a particular string in your URL. say if i insert:
then url like www.google-alternative.com www.google-imakeupthisurl.com www.google-2.com or even google.somethingelse.com will be banned as wellCode:# ban anything to do with google... acl goog url_regex google http_access deny goog
check the squid documentation for more info, or lets start googling


Reply With Quote
