hroute

软件截图:
hroute
软件详细信息:
版本: 0.2.0
上传日期: 11 May 15
许可: 免费
人气: 6

Rating: nan/5 (Total Votes: 0)

hroute是基于tproxy一个简单的HTTP代理。
安装:
    PIP安装-r https://github.com/downloads/benoitc/hroute/requirements.txt
    PIP安装hroute
用法:
创建在/ var /卷轴/ hroute(默认路径)或任何一个配置文件
文件夹你想::
    {
        “全”:{
            “路线”:{
                “/本地”:{
                    “远程”:“127.0.0.1:8000”
                },
                “/谷歌”:{
                    “远程”:“google.com:80”
                },
                “/ gunicorn”:{
                    “远程”:“gunicorn.org:80”
                    “rewrite_response”:真
                },
            }
        }
    }
然后启动hroute ::
  hroute -s在/ var /卷轴/ hroute -w 3
并继续`http://127.0.0.1:5000/gunicorn http://127.0.0.1:5000/gunicorn。您应该看到gunicorn.org网站

功能

  • 在位置重写
  • 链接重写处理代理/路径
  • 简单配置
  • 虚拟主机支持
  • 日志(未来)
  • 认证(未来)

要求

  • 在Python的
  • GEVENT
  • setproctitle
  • tproxy
  • LXML
  • 在HTTP解析器

显影剂的其他软件 Benoit Chesneau

fserve
fserve

11 May 15

Couchapp
Couchapp

14 Apr 15

http-parser
http-parser

20 Feb 15

意见 hroute

评论没有发现
添加评论
打开图片!