reverse proxy with apache 2
I need to reverse proxy using a linux box from the dmz to an exchange server offering webmail.......I tried squid and failed......I got far with apache 2 until I had to compile mod_proxy_html with apxs which redhat enterprise 4 does not have.
How do you install apxs?
I got through compiling and installing apache 2 and the config directives in the tutorial from apache week using proxypass and proxyreversepass and <location/> but nothing works
It seems this shouldn't be that hard but this is my 3rd day of work wasted on this annoying problem.....please anyone help.....!!
I found how to do reverse proxy w apache 2 that works with http and https
I got this working finally with the following two additions to httpd.conf:
ProxyPass / http://aserver.yoursite.com/
ProxyPassReverse / http://aserver.yoursite.com/
Typing the name of the box this apache is running on into a browser gives me the first page of the webserver on aserver.yoursite.com
say this box is conan
type http://conan OR https://conan into internet explorer gives
"hi this is the first web
page of aserver.yoursite.com"
so it works for https and http!!!! AWESOME
I spent so much time fiddling with squid and apache I wana scream!
I then ran a chkconfig --level 345 httpd on into my redhat ent 4 linux shell to make apache 2 restart upon reboot
|All times are GMT -5. The time now is 04:50 AM.|