Skip to content

基于tinyhttpd和《Linux高性能服务器编程》改编的个人破产版HTTP WebServer服务器,哈哈~

Notifications You must be signed in to change notification settings

GpsLypy/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

基于tinyhttpd和《Linux高性能服务器编程》改编的个人破产版HTTP WebServer服务器,哈哈~

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 85.7%
  • HTML 9.4%
  • Python 4.2%
  • Makefile 0.7%