goahead.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!DOCTYPE html>
  2. <html lang="eng">
  3. <head>
  4. <title>Goahead Man Page</title>
  5. </head>
  6. <BODY><PRE>
  7. GOAHEAD(1) User Commands GOAHEAD(1)
  8. <B>NAME</B>
  9. goahead- Embedded HTTP Web Server
  10. <B>SYNOPSIS</B>
  11. <B>goahead [options] [documents] [[IP][:port] ...]</B>
  12. <B>goahead</B>
  13. <B>--auth authFile</B>
  14. <B>--background</B>
  15. <B>--debugger</B>
  16. <B>--home directory</B>
  17. <B>--log logSpec</B>
  18. <B>--route routeFile</B>
  19. <B>--version</B>
  20. <B>--verbose</B>
  21. <B>[IP][:port] [documents]</B>
  22. <B>DESCRIPTION</B>
  23. GoAhead is popular, simple embedded HTTP web server. It is a fast,
  24. small-footprint, single-threaded, standards-based, portable server
  25. developed for use by embedded devices and applications. It can run as
  26. a stand-alone web server or the GoAhead library can be embedded in
  27. applications.
  28. GoAhead supports HTTP/1.1, SSL, digest, basic and web-form authentica-
  29. tion, chunked transfers, file upload and sandbox security limits.
  30. When goahead is built, it is configured to open a port for HTTP
  31. requests and optionally one for SSL. However, if goahead is invoked
  32. with an IP address or port number on the command line, GoAhead will
  33. listen on these ports instead. If the PORT component is omitted, GoA-
  34. head will listen on port 80. If the IP address is omitted and a port is
  35. supplied, GoAhead will listen on all network interfaces.
  36. <B>OPTIONS</B>
  37. <B>--auth filename</B>
  38. Define the name of the authentication configuration file. This
  39. is by default <B>auth.txt</B>. If GoAhead is built with PAM support
  40. (Unix Pluggable Authentication Modules), then passwords will be
  41. authenticated from the system password database.
  42. <B>--debugger</B>
  43. Run GoAhead in debug mode and disable all timeouts. This dis-
  44. ables request and session timeouts. The <B>-d </B>option is an alias
  45. for --debugger.
  46. <B>--log logSpec</B>
  47. Name the GoAhead log file. This will override the ErrorLog
  48. directive in the configuration file. When the maximum size is
  49. exceeded, the log file will be rotated to logName.old and a new
  50. log file will be started. The <B>-l </B>option is an alias for --log.
  51. The syntax is:
  52. --log logName[:logLevel][.maxSize]
  53. <B>--home directory</B>
  54. Define the server home directory for GoAhead.
  55. <B>--route routeFile</B>
  56. This option overrides the default route configuration file name
  57. of "route.txt". When GoAhead starts, it reads the route configu-
  58. ration file to load URI routes. These routes define what actions
  59. should be taken when various client requests are received.
  60. <B>--verbose</B>
  61. Shorthand for --log stdout:4. The <B>-v </B>option is an alias for
  62. --verbose.
  63. <B>--version</B>
  64. Output the product version number.
  65. <B>REPORTING BUGS</B>
  66. Report bugs to &lt;dev@embedthis.com&gt;.
  67. <B>COPYRIGHT</B>
  68. Copyright (C) Embedthis Software.
  69. <B>SEE ALSO</B>
  70. gopass, webcomp
  71. goahead March 2014 GOAHEAD(1)
  72. </PRE></BODY>
  73. </html>