Answer the question
In order to leave comments, you need to log in
How to redirect sites using squidGuard?
I'm trying to make a redirect from certain sites using squidGuard. My config looks like this:
dbhome /var/squidGuard/blacklists
logdir /var/log/squidGuard
dest test {
domainlist testdomains
redirect http://www.mysite.com
log /var/log/squidGuard/blocked.log
}
acl {
default {
pass !test all
redirect http://www.mysite.com
}
}
302:redirect http://www.mysite.com
www.mysite.com 192.168.77.217/- - GET
Answer the question
In order to leave comments, you need to log in
Where did you see such a link?
The redirect goes, but to the following link:
www.mysite.com 192.168.77.217/- - GET
<offtopic> We
've been using squidGuard for a long time , but just the other day I came across a rudimentary squid3_sentry project . Pretty flexible and stores blacklists in a redis database. I didn’t really test it, the tasks changed. But the project attracted attention because it is quite flexible and, among other things, the rules can be stored in redis. Thus, you can not poke around in the guard configs, but write a simple panel for the administration interacting directly with the database. But, you can’t do without a file)
offtopic>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question