2020年11月14日 星期六

busybox httpd

參數:
-iInetd mode
-fDo not daemonize
-v[v]Verbose
-c FILE設定檔 (預設 httpd.conf)
-p [IP:]PORTBind to ip:port (預設 *:80)
-u USER[:GRP]Set uid/gid after binding to port
-r REALMAuthentication Realm for Basic Authentication
-h HOME網頁目錄,預設 .
-m STRINGMD5 crypt STRING
-e STRINGHTML encode STRING
-d STRINGURL decode STRING
參考:https://busybox.net/downloads/BusyBox.html#httpd

設定檔:非必要,預設是 /etc/httpd.conf。

CGI 執行程式產生網頁:cgi-bin 目錄下

indexcgi, ssi

參考

  1. 我的簡易 Linux 程式 WEB UI 框架 
  2. https://www.geekyhacker.com/2018/06/03/bash-shell-cgi-http-server-using-busybox/

沒有留言:

張貼留言

SIP header Via

所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...