-   Linux - Software (
-   -   reverse proxy with apache 2 (

bootiack 08-08-2005 06:17 PM

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.....!!

bootiack 08-09-2005 06:47 PM

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 /
ProxyPassReverse /

Typing the name of the box this apache is running on into a browser gives me the first page of the webserver on

say this box is conan
type http://conan OR https://conan into internet explorer gives
"hi this is the first web
page of"
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 12:44 AM.