<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Proxy filter/squidguard]]></title><description><![CDATA[<p dir="auto">Good day Everyone this is a little project i have been working on.<br />
i wanted to post my own access denied page insted of the default squid message.<br />
what i have done is to pull the sgerror.php using winscp path /usr/local/www/ and add a few line of code se code below in bold the other is for debugging purpose.<br />
so what i have done is to create a index.html and place it in the www folder and use the code to display the custom page as an access denied error page.<br />
i have attached the screenshot<br />
hope you enjoy.</p>
<p dir="auto"><strong>if($html){<br />
header("location:http://{$_SERVER['HTTP_HOST']}/index.html"); die();</strong> //Redirect the user to the index.html file<br />
        //$html = file_get_contents("/usr/local/www/index.html");<br />
//print_r($_SERVER); die();<br />
//die( $html );<br />
}</p>
]]></description><link>https://forum.netgate.com/topic/69441/proxy-filter-squidguard</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 11:11:27 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/69441.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 May 2014 14:15:45 GMT</pubDate><ttl>60</ttl></channel></rss>