This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
hroute
------

simple HTTP proxy based on `tproxy <http: github.com="" benoitc="" tproxy="">`_.

Features
++++++++

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


Requirements
------------

- `Python <http: python.org="">`_ 2.6 and sup (Python 3 not suppported yet)
- `gevent <http: gevent.org="">`_ >= 0.13.4
- `setproctitle <http: code.google.com="" p="" py-setproctitle=""/>`_ >= 1.1.2
- `tproxy <http: github.com="" benoitc="" http-parser="">`_ >= 0.5.2
- `http-parser <http: github.com="" benoitc="" http-parser="">`_ >= 0.3.3
- `lxml <http: lxml.de="">`_

Install
-------

::

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


Usage
-----

Create a configuration file named **route** in /var/spool/hroute
(default path) or any folder you want, for example in /tmp, put the
following configuration::

{
"all": {
"routes": {
"/": {
"remote": "benoitc.io:80",
"rewrite_response": true
},
"/local": {
"remote": "127.0.0.1:8000"
},
"/google": {
"remote": "google.com:80"
},
"/gunicorn": {
"remote": "gunicorn.org:80",
"rewrite_response": true
},
"/googles": {
"remote": "encrypted.google.com:443",
"ssl": true,
"rewrite_response": true
}
}
}
}


then launch hroute::

$ hroute -s /tmp -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.


More features soon.
Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hroute-0.2.0.tar.gz (7.9 kB) Copy SHA256 Checksum SHA256 Source May 5, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting