Squid question - Refering URL
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
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.
<%strReferer = Request.ServerVariables ("HTTP_REFERER")
response.write strReferer %>
Does anyone know how I can do this? It would be greatly appreciated.