LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2005, 06:17 PM   #1
bootiack
LQ Newbie
 
Registered: Aug 2005
Location: LA CA USA
Posts: 3

Rep: Reputation: 0
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.....!!
-gavin
 
Old 08-09-2005, 06:47 PM   #2
bootiack
LQ Newbie
 
Registered: Aug 2005
Location: LA CA USA
Posts: 3

Original Poster
Rep: Reputation: 0
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
BULLETPROOF!
AWESOME
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache reverse proxy and cookie momilla Linux - Networking 0 07-26-2005 09:58 AM
Apache 2.0 Reverse Proxy Error Adam Shapiro Linux - Networking 0 11-29-2003 07:50 PM
Apache 2.0 Reverse Proxy Error Adam Shapiro Linux - Software 0 11-29-2003 07:47 PM
apache reverse proxy wildbob Linux - Networking 8 10-15-2003 12:16 PM
apache Reverse Proxy !!!!! ashish_v Linux - Software 0 09-05-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration