An initial basic webserver that uses linux sockets
C++ C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Snippets
Socket
html_template
.gitignore
Helpers.cpp
Helpers.h
Main.cpp
MySQL.cpp
MySQL.h
README.md
Web.cpp
Web.h
includes
makefile

README.md

webserver

a C++ webserver that uses linux sockets

Sample config

#ifndef _INCL_CONF
#define _INCL_CONF
#define MYSQL_HOST     "localhost"
#define MYSQL_USERNAME ""
#define MYSQL_PASSWORD ""
#define MYSQL_DATABASE ""
#define MYSQL_CHARSET  "utf8"
#define SITE_TITLE ""
#define SITE_DESC ""
#define SITE_KEYW ""
#define SITE_AUTHOR ""
#define SITE_URL ""
#define SITE_URL_HTTPS ""
#define MAX_GET 7
#define DEBUG 1
#define BUFSIZE 8096
#define TIMEOUT 60
#define LOG_FILE "server.log"
#endif