LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-04-2009, 12:42 PM   #1
hobbitmage
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
configure reverse proxy and apache2


Hello,

I inherited an apache reverse proxy server. I've added a new entry, but the proxy server isn't working. The configurations are:

# this works
<VirtualHost host1.domain.com:80>

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl

##### PROXY #####
ProxyRequests off
ProxyPass / http://192.168.18.41/
ProxyPassReverse / http://192.168.18.41/
##### END PROXY #####

</VirtualHost>

# this doesn't
<VirtualHost host2.domain.com:80>

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl

##### PROXY #####
ProxyRequests off
ProxyHTMLLogVerbose On
Loglevel Debug
ProxyPass / http://192.168.18.47/
ProxyPassReverse / http://192.168.18.47/
##### END PROXY #####

</VirtualHost>
 
Old 07-04-2009, 03:15 PM   #2
cmdln
Member
 
Registered: Apr 2009
Location: Lawrence, KS
Distribution: Debian, Centos
Posts: 102
Blog Entries: 1

Rep: Reputation: 24
Does host2.domain.com resolv to that apace server? Have you restarted apache since the config change? Have you tried an /etc/hosts entry on the client for host2.domain.com.
 
Old 07-04-2009, 05:21 PM   #3
hobbitmage
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
yes, host2.domain.com resolves to that apache server. Yes, I have started the apache server since the config change.

re: the client & /etc/hosts. if by client, you mean the one that is going to access http://host2.domain.com ... that's not a good idea since it needs to be accessible by people outside of the company. If you mean the /etc/hosts file of the server ... no I haven't done that. hosts2.domain.com * I just tried it and that
was it. thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Apache2 SSL Reverse Proxy doublejoon Linux - Networking 4 08-04-2011 09:29 AM
Apache2.2 as reverse proxy 4play Linux - Server 1 06-25-2009 12:19 PM
how to configure reverse proxy using Apache ashok shirke Linux - Server 3 06-16-2008 04:24 AM
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 07:20 PM
configure reverse proxy in xampp immortaltechnique Linux - Networking 1 09-26-2007 11:07 AM


All times are GMT -5. The time now is 04:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration