rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Martin on June 15, 2008, 10:06:35 AM
-
Hi @all
my question is, can I the error page 404 arrange according to one's own tastes?
Thank you
Martin
-
You can find all the 'error' pages in the following various sections in the root template and replace them according to your desire.
[error-page]
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/~style.css" type="text/css" />
</head>
<body>
%content%
<hr>
<div style="font-family:tahoma, verdana, arial, helvetica, sans; font-size:8pt;">
<a href="http://www.rejetto.com/hfs/">HttpFileServer %version%</a>
<br />%timestamp%
</div>
</body>
</html>
[not found]
<h1>{.!Not found.}</h1>
<a href="/">{.!go to root.}</a>
[overload]
<h1>{.!Server busy.}</h1>
{.!retry later.}
[max contemp downloads]
<h1>Download limit</h1>
{.!max c dl msg.}
[unauthorized]
<h1>Unauthorized</h1>
This is a protected resource.
<br />Your username/password doesn't match.
[deny]
<h1>Unallowed</h1>
This resource is not accessible.
[ban]
<h1>You are banned.</h1>
%reason%
[not found] is certainly the section ERROR 404
look at this url for more information on html error message
http://www.sendcoffee.com/minorsage/404error.html
-
Thanks to france from Germany!
I do do handicrafts at page 404 now!!!
Best regards Martin