Skip to content

ShellyYN/listen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#简介

  • 简介

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

About

listen-一个小白写的web服务器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.6%
  • CSS 25.9%
  • Shell 5.2%
  • Other 2.3%