Apache2 reverse proxies implementation


 
Thread Tools Search this Thread
Top Forums Web Development Apache2 reverse proxies implementation
# 1  
Old 09-30-2012
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,
Regards

James
# 2  
Old 10-05-2012
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Back up implementation

Is there any command to take create back up of a file as soon as when it is created?If not is it possible to create something like that? (3 Replies)
Discussion started by: Sindhu R
3 Replies

2. UNIX for Advanced & Expert Users

Ipsec implementation

How can i implement Ipsec between two machines in linux_ ubuntu? any link?? suggestion?? (0 Replies)
Discussion started by: elinaz
0 Replies

3. UNIX for Dummies Questions & Answers

Lseek implementation

Hi everybody, i've been googling for ages now and gotten kinda desperate... The question, however, might be rather trivial for the experts: What is it exactly, i.e. physically, the POSIX function (for a file) "lseek" does? Does it trigger some kind of synchronization on disk? Is it just for the... (4 Replies)
Discussion started by: Humudituu
4 Replies

4. UNIX for Advanced & Expert Users

Malloc Implementation in C

Hey Guys Some of my friends have got together and we are trying to write a basic kernel similar to Linux. I am trying to implement the malloc function in C and I am using a doubly linked list as the primary data structure. I need to allocate memory for this link list (duh...) and I don't feel... (2 Replies)
Discussion started by: rbansal2
2 Replies

5. Programming

Malloc implementation in C

Hey Guys I am trying to implement the malloc function for my OS class and I am having a little trouble with it. I would be really grateful if I could get some hints on this problem. So I am using a doubly-linked list as my data structure and I have to allocate memory for it (duh...). The... (1 Reply)
Discussion started by: Gambit_b
1 Replies

6. UNIX for Advanced & Expert Users

Implementation of ls - i command

It is possible for me to obtain the Inode of the path name using ls -i <pathname> command Can anyone tell me how its implemented... (3 Replies)
Discussion started by: ganapathy.psgit
3 Replies

7. Cybersecurity

Proxies (Best?)

I hope this is the right place to post this. If not, would an administrator please move it? Thanks. I've got a situation where we are using iPlanet proxy server to allow some of our web browsers to ONLY go to certain sites on an "approved" list. If they try to go to sites that aren't on the... (1 Reply)
Discussion started by: deckard
1 Replies

8. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies
Login or Register to Ask a Question