LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 108
Blog Entries: 1

Rep: Reputation: 25
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:14 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