CIVETWEB(1)

πŸ’– CIVETWEB(1) πŸ’–

okay bestie, welcome to the CIVETWEB(1) page, it's the User Commands manual and it's literally about an embeddable web server πŸ¦‹


✨ NAME ✨

civetweb β€” embeddable web server with optional CGI, SSL and Lua support 🌸


πŸŽ€ DESCRIPTION πŸŽ€

CivetWeb v1.12, built on Sep 14 2020 πŸ‘‘

No cap, that's the whole vibe. Now let's get into how you actually run this thing.

🫢 Usage:

Start server with a set of options:

civetweb [config_file]
civetweb [-option value ...]

Run as client:

civetweb -C url

Show system information:

civetweb -I

Add user/change password:

civetweb -A <htpasswd_file> <realm> <user> <passwd>

Remove user:

civetweb -R <htpasswd_file> <realm> <user>

✨ OPTIONS: ✨

here's the whole menu, every single one, with the default it ships with. don't skip, iykyk πŸ’…

  • -listening_ports β€” default 8080. the ports sitch, and 8080 is the starting point bestie.
  • -num_threads β€” default 50.
  • -run_as_user β€” default <empty>.
  • -tcp_nodelay β€” default 0.
  • -max_request_size β€” default 16384.
  • -linger_timeout_ms β€” default <empty>.
  • -connection_queue β€” default 20.
  • -listen_backlog β€” default 200.
  • -allow_sendfile_call β€” default yes.
  • -throttle β€” default <empty>.
  • -access_log_file β€” default <empty>.
  • -error_log_file β€” default <empty>.
  • -enable_keep_alive β€” default no.
  • -request_timeout_ms β€” default 30000.
  • -keep_alive_timeout_ms β€” default 500.
  • -decode_url β€” default yes.
  • -document_root β€” default <empty>.
  • -cgi_pattern β€” default **.cgi$|**.pl$|**.php$.
  • -cgi_environment β€” default <empty>.
  • -put_delete_auth_file β€” default <empty>.
  • -cgi_interpreter β€” default <empty>.
  • -protect_uri β€” default <empty>.
  • -authentication_domain β€” default mydomain.com.
  • -enable_auth_domain_check β€” default yes.
  • -ssi_pattern β€” default **.shtml$|**.shtm$.
  • -enable_directory_listing β€” default yes.
  • -global_auth_file β€” default <empty>.
  • -index_files β€” default index.xhtml,index.html,index.htm,index.cgi,index.shtml,index.php.
  • -access_control_list β€” default <empty>.
  • -extra_mime_types β€” default <empty>.
  • -ssl_certificate β€” default <empty>.
  • -ssl_certificate_chain β€” default <empty>.
  • -url_rewrite_patterns β€” default <empty>.
  • -hide_files_patterns β€” default <empty>.
  • -ssl_verify_peer β€” default no.
  • -ssl_ca_path β€” default <empty>.
  • -ssl_ca_file β€” default <empty>.
  • -ssl_verify_depth β€” default 9.
  • -ssl_default_verify_paths β€” default yes.
  • -ssl_cipher_list β€” default <empty>.
  • -ssl_protocol_version β€” default 0.
  • -ssl_short_trust β€” default no.
  • -access_control_allow_origin β€” default *.
  • -access_control_allow_methods β€” default *.
  • -access_control_allow_headers β€” default *.
  • -error_pages β€” default <empty>.
  • -static_file_max_age β€” default 3600.
  • -static_file_cache_control β€” default <empty>.
  • -strict_transport_security_max_age β€” default <empty>.
  • -additional_header β€” default <empty>.
  • -allow_index_script_resource β€” default no.
  • -title β€” default <empty>.
  • -icon β€” default <empty>.
  • -website β€” default <empty>.
  • -add_domain β€” default <empty>.
  • -hide_tray β€” default <empty>.
lowkey important: those <empty> defaults are literally the word the manpage uses, so that's what you get, don't come for me 🫢

🌈 AUTHOR 🌈

This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. periodt πŸ’–


and that's the whole page bestie ✨ sign-off time: this is civetweb 1.12, dated September 2020, and you read it all the way through β€” main character energy fr fr πŸ‘‘πŸ’…πŸŽ€