Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: reverse proxy redirect help |
|
Author |
|
jfmanamtr
Joined: 14 May 2013 Posts: 1 Location: Charlotte, NC
|
Posted: Tue 14 May '13 22:38 Post subject: reverse proxy redirect help |
|
|
I am having a little trouble getting a reverse proxy redirect to work. I have a Linux server running Apache2. I have installed SABnzbd+, Sickbeard, Couchpotato & Headphones onto this device. I want to access SABnzbd+, Sickbeard, Couchpotato & Headphones from the outside world (via a DYNDNS name). I know that I could just forward the ports through the router, but I don't want all the extra ports opened. I was told that I can have Apache to do a revers proxy, but I can't get it to work. I basically want to be able to do type myname.dyndns.org/sickbeard instead of typing in myname.dyndns.org:8081. Can anyone give me any advice?
~Jf |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 15 May '13 12:02 Post subject: |
|
|
it is not that hard. The reverse proxy is easy. The question is if you need to change the content with mod_proxy_html if the paths are not relative in the html, since the path changes for your applications from / to /something/
However for trying
Code: |
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /sickbeard/ http://127.0.0.1:8081/
ProxyPassReverse /sickbeard/ http://127.0.0.1:8081/
|
|
|
Back to top |
|
|
|
|
|
|