mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 14:19:18 +02:00
clarifying default config params for http-server
This commit is contained in:
parent
ec0b6e98f6
commit
003d3d3328
1 changed files with 9 additions and 1 deletions
|
@ -12,9 +12,17 @@
|
|||
;;> and a \scheme{restart} procedure to restart the servlets with a new
|
||||
;;> request.
|
||||
;;>
|
||||
;;> The default config parameters are:
|
||||
;;>
|
||||
;;> \itemlist[
|
||||
;;> \item{\scheme{port}: the port to listen on, default 8000}
|
||||
;;> \item{\scheme{doc-root}: the directory to serve files from, default the directory of the config file, or "." if no config}
|
||||
;;> \item{\scheme{index-regexp}: an SRE matching index files to serve in place of a directory listing when browsing directories, default "index.html"}
|
||||
;;> ]
|
||||
;;>
|
||||
;;> A simple page view counter could be run as:
|
||||
;;>
|
||||
;;> \example{
|
||||
;;> \scheme{
|
||||
;;> (let ((count 0))
|
||||
;;> (run-http-server
|
||||
;;> 8000
|
||||
|
|
Loading…
Add table
Reference in a new issue