Coronatus
asked on
squidGuard -- Redirect "silently"
Greetings,
I am currently running squid with squidGuard at work. I set it up to block certain contents and redirect the users to some dummy "error page" instead.
However, when a redirection of blocked content happens, the address bar of the users browser (Firefox) displays the redirected url. However, I would rather want it to stay at the URL entered http://www.happy-chat.whatever, instead of displaying http://internal-web-server/script/stay-out-of-here/errorpage.html all of a sudden?
Is there a way to do this? I already tried to prefix the redirection directive with 302 (as suggested by some online forums) but it didn't help.
What else can I do? Any suggestions would be appreciated!
I am currently running squid with squidGuard at work. I set it up to block certain contents and redirect the users to some dummy "error page" instead.
However, when a redirection of blocked content happens, the address bar of the users browser (Firefox) displays the redirected url. However, I would rather want it to stay at the URL entered http://www.happy-chat.whatever, instead of displaying http://internal-web-server/script/stay-out-of-here/errorpage.html all of a sudden?
Is there a way to do this? I already tried to prefix the redirection directive with 302 (as suggested by some online forums) but it didn't help.
What else can I do? Any suggestions would be appreciated!
acl {
default {
pass local good !bad all
redirect http://www.my-web-site.com/error.html
}
}
ASKER
Thank you for the suggestion, I'll check "Dansguardian" out!
However, that doesn't solve my problem. =/
However, that doesn't solve my problem. =/
You can do exactly what you are looking for with dansguardian
ASKER
Anyone? I'm trying to find a solution for Squid and squidGuard, and can't switch to a different software.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://dansguardian.org/