Skip to content

一款可运行的基于C++ 实现的WebServer服务器,基于《TCPIP网络编程》和《Linux高性能服务器编程》实现的服务器项目。

Notifications You must be signed in to change notification settings

forthespada/MyPoorWebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

一款可运行的基于C++ 实现的WebServer服务器,基于《TCPIP网络编程》和《Linux高性能服务器编程》实现的服务器项目。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published