minihttpd cgi 路径是相对于 webdir的

mini_httpd :

http://acme.com/software/mini_httpd/

cgic上传文件:

https://boutell.com/cgic/#obtain

cgilib解析网页:

https://codeload.github.com/codazoda/cgi-lib/zip/master



mark:


top/mini_httpd

top/web/xx.html

top/web/aa.cgi


mini_httpd.cfg

# Specifies a directory to chdir() to at startup.
dir=webi/

# Specifies an alternate port number to listen on
#port=8887

# CGI programs path;在同一个目录下
cgipat=*.cgi

或者

$LP/mini_httpd -c "*.cgi" -d $LP/new_ui -p 80 -i /tmp/mini_httpd.pid &

你可能感兴趣的:(c,linux,web)