Mongoose Web Server 简单的Web服务器
简介:
Mongoose Web Server是一款易于使用的Web服务器,它可以嵌入到其它应用程序中,为其提供Web接口。
官网:
http://code.google.com/p/mongoose/
下载地址:
http://code.google.com/p/mongoose/downloads/list
用法:
http://code.google.com/p/mongoose/wiki/MongooseManual
示例:
- EXAMPLES
- mongoose -r /var/www -s /etc/cert.pem -p 8080,8043s
- Start serving files from /var/www. Listen on port 8080 for HTTP,
- and 8043 for HTTPS connections. Use /etc/cert.pem as SSL cer-
- tificate file.
- mongoose -l -0.0.0.0/0,+10.0.0.0/8,+1.2.3.4
- Deny connections from everywhere, allow only IP address 1.2.3.4
- and all IP addresses from 10.0.0.0/8 subnet to connect.
- mongoose -w **=/my/script.cgi
- Invoke /my/script.cgi for every incoming request, regardless of
- the URL
所以,在WINDOWS下,只需要CD到该目录。
mongoose -p 8088
便可以在http://127.0.0.1:8088访问
相关推荐
80530895 2020-07-05
mkhhxxttxs 2020-06-14
80500495 2020-06-14
86211943 2020-03-01
80530895 2020-02-23
80500495 2020-01-29
86211943 2020-01-24
lovecodeblog 2020-01-24
87261046 2019-12-23
86211943 2019-12-20
lightlanguage 2019-12-16
MYRENZHIBO 2019-08-28
85234656 2018-09-03
fudirong 2012-04-12
80500495 2019-07-01