rhttp.pl - Reverse HTTP Proxy
rhttp.pl
Which config file to use.
Modify stored config file. See below.
IP to listen on. Can be set in config file.
Port to listen on. Can be set in config file.
SSL cert file
SSL key file
This is a reverse http proxy that supports:
HTTP/HTTPS reverse proxy (GET/POST) WebSockets VirtualHosts SSL
Run a reverse http proxy on domain.com and domain.net that routes to 127.0.0.1:3001 and 127.0.0.1:3002. The proxy will listen on ip 192.168.10.12.
$ perl rhttp.pl -add vhost:domain.com:80=127.0.0.1:3001:tls_off $ perl rhttp.pl -add vhost:domain.com=127.0.0.1:3001:tls_off $ perl rhttp.pl -add vhost:localhost=127.0.0.1:3001:tls_off $ perl rhttp.pl -add vhost:127.0.0.1:80=127.0.0.1:3001:tls_off $ perl rhttp.pl -add listen:127.0.0.1:80 $ perl rhttp.pl $ perl rhttp.pl -del vhost:localhost $ perl rhttp.pl -del listen:127.0.0.1:80
This program is considered beta.
Brian Medley - bpmedley@cpan.org
bpmedley@cpan.org
To install rhttp.pl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm rhttp.pl
CPAN shell
perl -MCPAN -e shell install rhttp.pl
For more information on module installation, please visit the detailed CPAN module installation guide.