Squidguard redirect URL not working
-
Have Squidguard up and running and wrote a vbscript page to redirect blocked pages. If I put the redirect URL as "http://www.example.com/Blocked.aspx" I get a URL like this "http://www.example.com/Blocked.aspx&a=192.168.100.182&n=&i=&s=default&t=blk_BL_porn&u=http://www.porn.com/".
I need a ? at the end of the URL before the parameters. I have tried all the combinations below:
"http://www.example.com/Blocked.aspx?" - Get no parameters in the URL.
"http://www.example.com/Blocked.aspx?a=%a&s=%s&t=%t&u=%u" - Get no parameters in the URL.Do I need to escape the "?" somehow? How do I get this working?
Thanks,
Roy -
Well it was pretty easy - I had to check "Do not use the DNS Forwarder as a DNS server for the firewall" on the General Setup page. Restarted Squid and with just the ? at the end of the redirect URL it works fine.