Giter Club home page Giter Club logo

webcppd's Introduction

webcppd

此项目以升级为httpevent. 欢迎更新!!!

面向C++ web编程的应用服务器

概述

webcppd 是为了把 C++ 语言变成一种 Web 开发语言而准备的。利用 webcppd,C++ 语言能够 轻松地与 HTML、JS、CSS 打成一片,无障碍地融入到 Web 开发的实践当中。 因而,你能够把 C++ 语言当作是更好、更快的 PHP 语言来对待。 当然,你也可以把 webcppd 当然 C++ 版的 tomcat。

特性

  • HTTP/1.0 and HTTP/1.1
  • WebSocket
  • HTTPS
  • C++
  • 会话管理
  • 缓存管理
  • ip动、静态黑名单
  • 正则路由
  • 防盗链
  • 日志
  • more

依赖安装

Centos

yum -y install epel-release

yum -y install poco-devel

推荐执行centos-install-depend.sh

Ubuntu

不要安装libpoco-dev,它的版本太低。请执行ubuntu-install-depend.sh

编译

make

清理

make clean

安装

sudo make install

卸载

sudo make uninstall or sudo webcppd-ctrl.sh uninstall

启动|停止|重启|状态

sudo systemctl (start|stop|restart|status) webcppd

开机自启动

sudo systemctl enable webcppd

配置

/etc/webcppd/webcppd.properties

HTTPS

如果需要https 请参考letsencrypt/letsencrypt.md

webcppd's People

Watchers

Hello Chen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.