hroute

Software Screenshot:
hroute
Software Details:
Version: 0.2.0
Upload Date: 11 May 15
Developer: Benoit Chesneau
Distribution Type: Freeware
Downloads: 6

Rating: nan/5 (Total Votes: 0)

hroute is a simple HTTP proxy based on tproxy.

Install:

    pip install -r https://github.com/downloads/benoitc/hroute/requirements.txt
    pip install hroute



Usage:

Create a configuration file in /var/spool/hroute (default path) or any
folder you want::

    {
        "all": {
            "routes": {
                "/local": {
                    "remote": "127.0.0.1:8000"
                },
                "/google": {
                    "remote": "google.com:80"
                },
                "/gunicorn": {
                    "remote": "gunicorn.org:80",
                    "rewrite_response": true
                },

            }
        }
    }


then launch hroute::

 hroute -s /var/spool/hroute -w 3

and go on `http://127.0.0.1:5000/gunicorn http://127.0.0.1:5000/gunicorn. You should see the gunicorn.org website.

Features:

  • location rewriting
  • links rewriting to handle proxy / paths
  • simple configuration
  • vhosts support
  • logging (coming)
  • authentification (coming)

Requirements:

  • Python
  • gevent
  • setproctitle
  • tproxy
  • lxml
  • http-parser

Other Software of Developer Benoit Chesneau

http-parser
http-parser

20 Feb 15

http-parser
http-parser

12 May 15

Couchapp
Couchapp

14 Apr 15

Comments to hroute

Comments not found
Add Comment
Turn on images!