@index_templ
<html><head><title>Index of %p</title></head>
<body><h2 align=justify><a href=/>HOME</a>&gt;%R</h2>
<pre>     <a href=%(OdN)>NAME</a>                   <a href=%(OdT)>DATE</a>         <a href=%(OdS)>SIZE</a>  <a href=%(Odn)>NAME(R)</a>

%*</pre>
</body></html>
@


@index_templ_other
<img src=\"%m\" width=24 height=24> <a href=\"%u\">%(n20)</a>%(b20) %t %d %s %N (%S)
@


@index_templ_zip
<img src=\"%m\" width=24 height=24> <a href=\"%u\">%(n20)</a>%(b20) %t %d %s <a href=\"%U\">%N<img border=0 src=\"/?rc=viewzip.gif\" width=24 height=24></a> (%S)
@


@index_templ_dir
<img src=\"%m\" width=24 height=24> <a href=\"%U\">%(n20)</a>%(b20) %t %d       <a href=\"%U\">%N</a>
@


@index_templ_file
<img src=\"%m\" width=24 height=24> <a href=\"%u\">%(n20)</a>%(b20) %t %d %s %N (%S)
@


@gif_folder     @bitmaps/folder.gif
@gif_zip        @bitmaps/zip.gif
@gif_file       @bitmaps/file.gif
@gif_html       @bitmaps/html.gif
@gif_bin        @bitmaps/bin.gif
@gif_doc        @bitmaps/doc.gif
@gif_text       @bitmaps/text.gif
@gif_image      @bitmaps/image.gif
@gif_audio      @bitmaps/audio.gif
@gif_video      @bitmaps/video.gif
@gif_zipfolder  @bitmaps/zipfolder.gif
@gif_zipfile    @bitmaps/zipfile.gif
@gif_ziphtml    @bitmaps/ziphtml.gif
@gif_zipbin     @bitmaps/zipbin.gif
@gif_zipdoc     @bitmaps/zipdoc.gif
@gif_ziptext    @bitmaps/ziptext.gif
@gif_zipimage   @bitmaps/zipimage.gif
@gif_zipaudio   @bitmaps/zipaudio.gif
@gif_zipvideo   @bitmaps/zipvideo.gif

@gif_viewzip    @bitmaps/viewzip.gif

@http_302
<html><head></title>302 Found</title></head>
<body>302 Move to <a html=\"%L\">here</a></body></html>
@

@http_400
<html><head></title>400 Bad request</title></head>
<body>400 Bad request</body></html>
@

@http_403
<html><head></title>403 Forbidden</title></head>
<body>403 File %U is forbidden.</body></head>
@

@http_404
<html><head></title>404 Not found</title></head>
<body>404 File %U not found.</body></html>
@

@http_405
<html><head></title>405 Method not allowed</title></head>
<body>405 Method not allowed.</body></html>
@

@http_413
<html><head></title>413 Request engity too large</title></head>
<body>413 Request engity too large.</body></html>
@


@http_414
<html><head></title>414 Request-URI too long</title></head>
<body>414 Request-URI %U too long.</body></html>
@

@http_416
<html><head></title>416 Requested Range Not Satisfiable</title></head>
<body>416 Requested Range Not Satisfiable</body></html>
@

@http_500
<html><head></title>500 Internal server error</title></head>
<body>500 Internal server error. <br>Please report to the
vendor.</body></html>
@

@http_501
<html><head></title>501 Not implemented</title></head>
<body>501 This function has not been implemented</body></html>
@

@http_505
<html><head></title>505 Version not implemented</title></head>
<body>505 HTTP version %V not implemented</body></html>
@

@help
<html><head><title>LiteZipper HTTP 1.1 Server version 0.1</title></head>
<body>
<h1 align=center>LiteZipper HTTP Server 0.1</h1>
<h2>Functionality</h2>
LiteZipper HTTP Server is a small, simple and easy-to-use web server program
for Windows. It allows users to access HTML pages and images in zip files on
the server as well as ordinary files and directories. One can compress many
HTML files and images into a ZIP file and publish them just like it has been
never compressed. A subset of HTTP 1.1 has been currently supported, 
including download resuming. This program is still under development.
It contains a single EXE file, currenly it would not write any information
to the disk.
<p>
<h2>Settings</h2>
<ul>
<li><strong>Root Directory</strong>: the home directory of the web server.
 The path in the URL will be appended to this string to obtain the real
 file path. '.' and '..' have been filted to prevent security problems.
<li><strong>Default page</strong>: the file name of default HTML page in
 a directory. If this program can not find the default page in a directory,
 it will list the content of this directory instead. The default setting
 is 'index.html'. Alternatively, people use 'Default.htm' or 'index.htm'
 as their default page.
<li><strong>Port</strong>: the port listened by the program. The default 
 value is 80.
</ul>
<p>
<h2>Command buttons</h2>
<ul>
<li><strong>Clear cache</strong>: Remove the cache of directories, close
 the openning files, and free memory blocks.
<li><strong>Start/Stop LiteZipper HTTP Server</strong>: Start or stop the
 web service.
<li><strong>About</strong>: Information about the author.
<li><strong>Close</strong>: Close the web server. Clicking the close button
 on the upperleft corner of the window does not really close the program;
 the window will be hided and the web service keeps running (if it has been
 started). Clicking its icon in the system tray (on the lower-right of the
 screen) will get the window restored.
</ul>
<p>
<h2>Information on the panel</h2>
<ul>
<li><strong>Files, blocks, confs, caches, and tasks</strong> tell the
 number of opened files, the number of allocated memory blocks, the
 number of configuration entries, the number of cached directories and
 HTML pages, and the number of running tasks, respectively.
<li><strong>Sent and recv</strong> tell the total amount of data the
 web server has sent and received, in bytes, respectively.
<li><strong>Online</strong> tells the number of connections which is
 currently connected. <strong>Total</strong> tells the total number
 of connections since the program was started.
</ul>

<hr>
This program is a freeware. <br>
Copyright (c) 2002 by Hanhua Feng. <br>
This program made use of the zlib, see http://www.zlib.org/<br>
Bug report: <a href=\"mailto:hhfeng@mail.com\">hhfeng@mail.com</a>

</body>
</html>
@

