Hello everyone,
i tried to find on the net some tutorials how to make a custom web proxy error page, but without any good result. I can’t get an image to be displayed over the screen… Does anyone have saved template or at least some good tutorial how to make custom web proxy page? Tnx in advance!
Hi
Have look at my code “error.html”, you can use it. I will not recommend any image, if you use image keep the size small. have a look at http://forum.mikrotik.com/t/editing-webproxy-error-page/76275/1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD>
<TITLE>Web Site : $(status)</TITLE>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</HEAD>
<BODY text=#ffffff bgColor=#000000<h2>ERROR: $(status)</h2>
<P></P>
$(if error)
<TABLE height=1 width=100% bgColor=#ff0000 border=1 >
<TR>
<TD> <marquee behavior="alternate" scrollamount="8"><strong>$(status)</strong></marquee></TD></TR>
</TABLE>
<P><BR></P>
<p>While trying to retrieve the URL : <a href="$(url)">$(url)</a></p>
<ul><li><strong><blink> $(error)</strong></blink></li></ul>
<P><BR></P>
<TABLE height=1 width=100% bgColor=#ff0000 border=1>
<TR>
$(endif)
<TD> <marquee behavior="alternate" scrollamount="12"><strong>$(status)</strong></marquee></TD></TR></TABLE>
<p>Your cache administrator is <a href="mailto:$(admin)">$(admin)</a>.
$(signature)
</P></BODY></HTML>
Bigfoot