whyisma / MyPoorWebServer

破产版HTTP服务器,哈哈~

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1、编译准备工作

post.html 以及 post.cgi需要一定的权限才可以执行。

1、cd httpdocs

2、sudo chmod 600 test.html

sudo chmod 600 post.html

sudo chmod +X post.cgi

3、cd ../

4、make

5、 ./myhttp

2、资源

默认端口号是6379,默认是test.html界面,同一路径下还有 post.html资源

3、整体过程图

4、整体框架图

5、参考

非常感谢

<TCPIP网络编程>-韩-尹圣雨

https://www.cnblogs.com/qiyeboy/p/6296387.html

https://www.jianshu.com/p/18cfd6019296

About

破产版HTTP服务器,哈哈~


Languages

Language:C 86.6%Language:HTML 8.8%Language:Python 3.9%Language:Makefile 0.6%