【实例简介】
C语言开发Linux下web服务器(支持GET/POST,SSL,目录显示等)
【实例截图】
【核心代码】
webd.tar
└── web
├── cert.pem
├── cgi-bin
│ ├── getAuth.c
│ ├── Makefile
│ └── postAuth.c
├── config.ini
├── daemon_init.c
├── doc
│ ├── back.c
│ ├── config.ini
│ ├── dir
│ │ ├── back
│ │ │ ├── cert.csr
│ │ │ ├── cert.pem
│ │ │ ├── key.pem
│ │ │ ├── privkey.pem
│ │ │ └── shadow
│ │ ├── back_main.c
│ │ ├── DirAuth.html
│ │ ├── DirGet.html
│ │ ├── file.png
│ │ └── main.c
│ ├── dir.png
│ ├── fifo.png
│ ├── file.png
│ ├── getAuth.html
│ ├── home.html
│ ├── img.gif
│ ├── img_switch_01.png
│ ├── img_switch_02.png
│ ├── img_switch_03.png
│ ├── img_switch_04.png
│ ├── img_switch_bg.png
│ ├── link.png
│ ├── postAuth.html
│ └── socket.png
├── info.txt
├── log.c
├── main.c
├── Makefile
├── parse_config.c
├── parse.h
├── parse_option.c
├── pid.file
├── README
├── secure_access.c
├── webd
├── webserver.sh
├── wrap.c
└── wrap.h
5 directories, 46 files