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:
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 :)
Well, one way to go over the problem is add a ? to the end of the url. So, imagine that we are redirecting to http://google.com. If we replace it by http://google.com/? we get the correct page, but the url still have the *-%20-%20GET…
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.