?
Solved

squidGuard -- Redirect "silently"

Posted on 2009-12-16
5
Medium Priority
?
1,070 Views
Last Modified: 2012-05-08
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

0
Comment
Question by:Coronatus
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

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

http://dansguardian.org/
0
 
LVL 2

Author Comment

by:Coronatus
ID: 26159833
Thank you for the suggestion, I'll check "Dansguardian" out!

However, that doesn't solve my problem. =/
0
 
LVL 3

Expert Comment

by:simprix
ID: 26160075
You can do exactly what you are looking for with dansguardian
0
 
LVL 2

Author Comment

by:Coronatus
ID: 26336808
Anyone? I'm trying to find a solution for Squid and squidGuard, and can't switch to a different software.
0
 
LVL 2

Accepted Solution

by:
Coronatus earned 0 total points
ID: 26453070
I found the solution myself.

I redirected to http://www.mysite.com/directory which then internally redirected to http://www.mysite.com/directory/index.html. The latter redirect was of course visible. Stupid mistake on my part.
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wikipedia defines 'Script Kiddies' in this informal way: "In hacker culture, a script kiddie, occasionally script bunny, skiddie, script kitty, script-running juvenile (SRJ), or similar, is a derogatory term used to describe those who use scripts or…
If you are like regular user of computer nowadays, a good bet that your home computer is on right now, all exposed to world of Internet to be exploited by somebody you do not know and you never will. Internet security issues has been getting worse d…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question