- To be done
- - Turn directory listing into a library.
make_log_dir(-Dir) is det[private]- Ensure the log directory exists
favicon(+Request)[private]- Serve /favicon.ico.
touch_icon(+Request)[private]- Serve /apple-touch-
icon.png.
serve_page(+Alias, +Request)[private]- HTTP handler for files below document-root.
find_file(+Relative, -File) is det[private]- Translate Relative into a File in the document-root tree. If the
given extension is .html, also look for .txt files that can be
translated into HTML.
.frg files embed the contents of the body in the normal 1 col
layout format.
.hom files embed the contents of the body in the home page
format. Usually the home page fill will have nothing in it
serve_file(+File, +Request) is det[private]
serve_file(+Extension, +File, +Request) is det[private]- Serve the requested file.
serve_index_file(+Dir, +Request) is semidet[private]- Serve
index.txt or index.html, etc. if it exists.
serve_wiki_file(+File, +Request) is det[private]- Serve a file containing wiki text.
serve_wiki(+String, +File, +Request) is det[private]- Emit page from wiki content in String.
wiki_path(+Request, +File, -WikiPath) is det[private]- WikiPath is the canonical path to describe the wiki page File.
prolog:doc_directory(+Dir) is semidet[multifile]- Enable editing of wiki documents from the www directory.
manual_file(+Request) is det[private]- HTTP handler for /man/file.{html,gif}
serve_embedded_html_file(+File, +Request) is det[private]- Serve a .frg file, which is displayed as an embedded HTML file
in the 1 col content format, or a .hom file, which is displayed
as an embedded HTML file in the home page format
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
server
server(Arg1)