Link to home
Start Free TrialLog in
Avatar of Coronatus
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!
acl {
default {
pass local good !bad all
redirect http://www.my-web-site.com/error.html
}
}

Open in new window

Avatar of simprix
simprix

Have you looked at Dansguardian. This may be a better solution. Alot better logging also. It also works great with squid.

http://dansguardian.org/
Avatar of Coronatus

ASKER

Thank you for the suggestion, I'll check "Dansguardian" out!

However, that doesn't solve my problem. =/
You can do exactly what you are looking for with dansguardian
Anyone? I'm trying to find a solution for Squid and squidGuard, and can't switch to a different software.
ASKER CERTIFIED SOLUTION
Avatar of Coronatus
Coronatus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial