Jump to content

Recommended Posts

Posted

Hi,

 

I'm wondering if anyone can help me. I've got a squid box inside school which redirects blocked sites to http://intranet/blocked.asp which is fine.

 

On the page which is displayed, at the bottom I want to show the requested URL so if it is incorrectly banned, I can allow it.

 

When I ask people what site is filtered they send me the link in the address bar to the intranet rahter than the correct site.

 

At present I have

    <%strReferer = Request.ServerVariables ("HTTP_REFERER")
response.write strReferer %>

 

Which works fine if for example they google facebook and then click on a link however, if they go directly in the address bar to facebook then the URL is not written back out to the webpage.

 

Does anyone know how I can do this? It would be greatly appreciated.

 

Thanks :-)

Posted

Sorry I'm not very good with ASP and someone else wrote the orignal filter page for me.

 

What code would I need to add onto the asp filter page please?

 

Thanks, Ed

Posted
You can also just grep the squid log file for blocks surely? That way you don't have to ask anyone anything or alter any code/config?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...