[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Jan 25 10:18:51 2005 -->
- <!--x-from-r13: wnfbaqnl ng jbeyqarg.ngg.arg (Xnfba Rnl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 41F2D0E9.2090103@proteus-tech.com --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] How to proxy a web app via Apache & SSH? -->
- <li><em>date</em>: Tue Jan 25 10:18:51 2005</li>
- <li><em>from</em>: jasonday at worldnet.att.net (Jason Day)</li>
- <li><em>in-reply-to</em>: <<a href="msg00868.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00868.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] How to proxy a web app via Apache & SSH?</li>
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:
<a rel="nofollow" href="http://www.apacheweek.com/features/reverseproxies">http://www.apacheweek.com/features/reverseproxies</a>
Also, man ssh_config and checkout the ServerAliveInterval and
ServerAliveCountMax options, to keep your ssh tunnel from timing out.
HTH,
Jason
--
Jason Day jasonday at
<a rel="nofollow" href="http://jasonday.home.att.net">http://jasonday.home.att.net</a> worldnet dot att dot net
"Of course I'm paranoid, everyone is trying to kill me."
-- Weyoun-6, Star Trek: Deep Space 9
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01058" href="msg01058.html">[ale] How to proxy a web app via Apache & SSH?</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00868" href="msg00868.html">[ale] How to proxy a web app via Apache & SSH?</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01043.html">[ale] Consumer Rights Legal Issues presentation [was: Seeking LVM presentation]</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01045.html">[ale] comcast static IP?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00868.html">[ale] How to proxy a web app via Apache & SSH?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01058.html">[ale] How to proxy a web app via Apache & SSH?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01044"><strong>Date</strong></a></li>
<li><a href="threads.html#01044"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>