[ale] How to proxy a web app via Apache & SSH?
Benjamin Scherrey
scherrey at proteus-tech.com
Tue Jan 25 12:10:10 EST 2005
Outstanding!
This is exactly what I'm looking for, Jason. Thanx much. I knew how
to establish the ssh port forwarding but the 'reverse proxy' concept is
what I was trying to discover as my missing link.
-- Ben Scherrey
Jason Day wrote:
>Ben,
>
>You might be able to do this using Apache's mod_proxy to setup a reverse
>proxy on your web server. I've never tried this, but if you setup an
>ssh tunnel like:
>
> ssh -L 8000:your.ip.com:80 your.ip.com
>
>Then setup mod_proxy to forward requests to localhost:8000. You also
>might be able to use mod_rewrite, that might be easier to setup.
>
>Here's an article on reverse proxies:
>http://www.apacheweek.com/features/reverseproxies
>
>Also, man ssh_config and checkout the ServerAliveInterval and
>ServerAliveCountMax options, to keep your ssh tunnel from timing out.
>
>HTH,
>Jason
>
>
More information about the Ale
mailing list