Code Monkey home page Code Monkey logo

listen's Introduction

#简介

  • 简介

listen是基于python开发的web服务器

  • 支持自定义response
  • 支持缓存
  • 支持多线程和多进程
  • 支持错误页面和默认页面配置
  • 支持cgi
  • 支持压缩
  • 支持https
  • 支持配置文件
  • 仅支持unix/linux 32/64
  • 安装路径/usr/local/
  • 安装方法 /usr/local/listen
    sh install.sh
  • 文件结构

listen/
|-- bin       二进制命令目录
|-- conf      配置文件
|   `-- listen.conf
|-- logs      日志
|   |-- access.log
|   `-- error.log
|-- README.md
|-- sbin      启动脚本,未完善
|   `-- listend
|-- src       源代码
|   |-- cgi-bin
|   |   |-- index.cgi
|   |   |-- index.php
|   |   |-- index.pl
|   |   `-- index.py
|   |-- config.py
|   |-- install.sh
|   |-- listen.py
|   |-- listen.spec
|   |-- pubutil.py
|   `-- pyinstaller-2.0.zip
|-- ssl  https证书
`-- www   发布目录
    |-- cgi-bin
    `-- html
        |-- 404.html
        |-- images
        |-- index.html
        `-- style.css

listen's People

Contributors

chenziyaos avatar

Watchers

田晨娜 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.