hroute

Software screenshot:
hroute
Dettagli del software:
Versione: 0.2.0
Data di caricamento: 11 May 15
Sviluppatore: Benoit Chesneau
Licenza: Libero
Popolarità: 35

Rating: nan/5 (Total Votes: 0)

hroute è un semplice proxy HTTP sulla base di tproxy.
Installa:
& Nbsp; & nbsp; & nbsp; Pip installare -r https://github.com/downloads/benoitc/hroute/requirements.txt
& Nbsp; & nbsp; & nbsp; pip installare hroute
Utilizzo:
Creare un file di configurazione in / var / spool / hroute (percorso predefinito) o qualsiasi
cartella che si desidera ::
& Nbsp; & nbsp; & nbsp; {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "Tutto": {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "percorsi": {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Local": {
                    "A distanza": "127.0.0.1:8000"
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Google": {
                    "A distanza": "google.com:80"
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Gunicorn": {
                    "A distanza": "gunicorn.org:80",
                    "Rewrite_response": true
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; }
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; }
& Nbsp; & nbsp; & nbsp; }
quindi lanciare hroute ::
& Nbsp; hroute -s / var / spool / hroute -w 3
e proseguire `http://127.0.0.1:5000/gunicorn http://127.0.0.1:5000/gunicorn. Si dovrebbe vedere il sito web gunicorn.org

Caratteristiche .

  • posizione riscrittura
  • link di riscrittura per gestire proxy / percorsi
  • Configurazione semplice
  • vhosts supporto
  • logging (provenienti)
  • autenticazione (provenienti)

Requisiti

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

Altri software di sviluppo Benoit Chesneau

http-parser
http-parser

20 Feb 15

http-parser
http-parser

12 May 15

Couchapp
Couchapp

14 Apr 15

Commenti a hroute

I commenti non trovato
Aggiungi commento
Accendere le immagini!