# WebServer **Repository Path**: deepvision2021/WebServer ## Basic Information - **Project Name**: WebServer - **Description**: C++实现的简易Web服务器 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-09-15 - **Last Updated**: 2023-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WebServer #### 项目介绍 .C++实现的简易Web服务器 目前实现了GET方法,网页文件目录可以修改src/include/Global.h中的FILEPATH,修改完再次编译即可生效 #### 运行无LOG版本 ``` 1. git clone https://gitee.com/chendilin/WebServer.git 2. cd Webserver 3. sudo mkdir -p /srv/Girl/www 4. sudo cp -rf www/* /srv/Gril/www 5. make 6. ./WebServer 7. 浏览器输入 localhost:8888即可看到index.html内容 ``` #### 运行带LOG输出版本: ``` 1. make debug 2. ./debug ``` #### 运行gdb调试版本: ``` 1. make debuggdb 2. gdb ./debuggdb ```