Customizing web proxy HTML error page
Posted: Mon Feb 13, 2012 9:51 am
I want to change the web proxy error page content on my Mikrotik routerboard, the content of the webproxy/error.html page is:
What I want to change is inside the signature variable, which includes the time the page is generated at, a link to contact the proxy admin and the local address of routerboard, and some text. The question is, where can I edit the signature variable?
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>ERROR: $(status)</title></head>
<body><h2>ERROR: $(status)</h2>
<hr noshade size="1px"/>
$(if error)
<p>While trying to retrieve the URL <a href="$(url)">$(url)</a>:</p>
<ul><li><strong>$(error)</strong></li></ul>
$(endif)
<p>Your cache administrator is <a href="mailto:$(admin)">$(admin)</a>.
$(signature)
</body></html>