Some documentation refactoring. No code changes. (0.39.12)
This commit is contained in:
parent
6870149094
commit
f2e319c4a4
14 changed files with 430 additions and 1 deletions
17
docs/examples/data/htdocs/hello.md
Normal file
17
docs/examples/data/htdocs/hello.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# hello.fun (CGI)
|
||||
|
||||
- Location: examples/data/htdocs/hello.fun
|
||||
- Category: CGI script used by HTTP server examples
|
||||
|
||||
Description
|
||||
- Simple CGI .fun script that prints a greeting, optionally using query parameters (e.g., ?name=Fun).
|
||||
|
||||
How to run
|
||||
- Through one of the HTTP server examples, e.g.:
|
||||
- export FUN_LIB_DIR="./lib"
|
||||
- export FUN_EXEC="./build_debug/fun"
|
||||
- ./build_debug/fun examples/net/http_server_cgi.fun
|
||||
- Open: http://127.0.0.1:8080/hello.fun?name=Fun
|
||||
|
||||
See also
|
||||
- docs/examples/httpserver.md (deep-dive)
|
||||
Loading…
Add table
Add a link
Reference in a new issue