|
xap − Simple, fast web server |
|
xap [options] <docroot> Options: [-port <port> ] [-bind <ip> ] [-max-age <seconds> ] [-mimetypes <filename> ] [-log <filename> ] [-rotate hour|day|month] ] [-timeout <sec> ] [-xtnlog <filename> ] [-maxconnections <n> ] [-sched <policy> <priority> ] [-dbgstats <sec> ] [-help ] |
|
xap is a simple static web server. It will serve documents under <docroot>. -port option allows you to specify the port, default is 80 -bind option allows you to specify the ip to bind to, default is INADDR_ANY -max-age option allows you to specify the CacheControl: max-age header, default is 3600 -mimetypes options allows you to supply a mime types file in Apache format, default is /etc/mime.types -log option allows you to specify a file to log messages, defaults to stdout. -rotate options allows you to specify one of hour, day, month as the interval to rotate the log file specified -log option. -xtnlog Write transaction records to file -maxconnections Set max concurrent connections, default is unbounded -dbgstats option will log internal stats every specified number of seconds (useful for debugging and performance tuning) -help option will print usage info |
|
Russell Leighton <russ@elegant-software.com> |