Custom SquidGuard Error Page not working
if SquidGuard blocks a page all i get is 404 - Not Found. So i decided i need
something custom and found: https://forum.pfsense.org/index.php?topic=26057.0
I'm trying to do it like 3dinfluence: https://forum.pfsense.org/index.php?topic=26057.msg173293#msg173293
I can show the site with "http://warning.mydomain.net/index.html" fine.
I'm not sure if i should put
in Common ACL > Redirect info.
Redirect mode is set to "ext url move".
If i call a blocked site i get the URL:
http://warning.mydomain.net/index.html&a=192.168.0.70&n=&i=&s=default&t=blk_malicious&u=http://rarlab.com/ 192.168.0.70/- - GET
But i only see a white page with 404 - Not Found.
With this method do i still need to modify the sgerror.php somehow?
I'm having the same issue… need some help here :)
So you have it working?
Where did you place the "?"
Place the ? between the page title (e.g. blocked.php) and the parameters, so something.php?one=1&two=2&three=3, and so on.
the 404 is gone and i can see the source code in Firebug.