Unix/Linux Go Back    

Web Programming Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

Apache2 reverse proxies implementation

Web Programming

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-30-2012
nodrama nodrama is offline
Registered User
Join Date: Feb 2012
Last Activity: 28 November 2012, 10:14 AM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Apache2 reverse proxies implementation

Hi all,

I hope someone here could shine a light on an issue that I am having with apache2.

I have 2 servers with apache2 on each, which are on the same network with one router.

I have implemented what I have seen on guides on the net on the landing server such as 'Apache2 reverse proxies' which is on the ubuntuguide site (cant post the url, have not reached 5 posts yet).

It works to a point as when I enter in the url of the server which is the backend server to be served, the url changes to 'https://mail.example.com/wordpress/' and not to the landing server as before, though the result is not the address expected and which I entered from the guide above.

I suspect that there was some mail program installed which is having a conflict, I had zimbra installed at one stage.

I would really appreciate if someone here who has a simliar setup would be so kind to offer some guidance, and finally, this is a great site.

Thanking you in advance,

Sponsored Links
Old Unix and Linux 10-05-2012
DGPickett DGPickett is offline Forum Advisor  
Registered User
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
There is not so much magic in proxy, reverse for forward. The tool lsof can show you who is listening on any port of the local server. A tcp socket connects to host X port Y says "GET /Z HTTP/9.9" to some proxying service, and it is piped to host A port B after that service is fed with a "GET /C HTTP/?.?", where X Y Z are translated to A B C. Ditto for POST. Rules vary for the forwarding and translation of other HTTP lines coming from the original client that may be fed to the final service. If your config is not working, turn on debugging for the proxying service, and read the logs.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help on AWK implementation EmbedUX Shell Programming and Scripting 5 10-01-2009 05:41 AM
Proxies (Best?) deckard Security 1 11-11-2005 11:01 PM
unix program that can port scan a c block of ips for proxies user UNIX for Dummies Questions & Answers 1 07-11-2005 02:01 PM

All times are GMT -4. The time now is 01:47 AM.