LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-20-2004, 07:12 AM   #1
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
Angry Mod_Proxy (Apache) won't forward requests


Good morning,
I have a netowrk setup with a web server inside a firewall. The web server has an ipaddress of 192.168.0.3. I have another server with some php pages with an ip address of 192.168.0.5.

I am trying to use mod_proxy to send request to that server. I have virtual hosts set up. This is what I have in the virtual hosts directive:

<VirtualHost 192.168.0.3:80>
Servername media.domain.com
ProxyRequests On
ProxyRemote * http://music.otherdomain.com
</VirtualHost>

I have the other web server entry in the hosts file on the Linux server. Does a ProxyPass/ProxyPassReverse need to be added. I know virtual hosts is working becuase I have other virtual hosts on the server and they are all working.
Any help would be appreciated.
 
Old 04-20-2004, 08:49 AM   #2
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Original Poster
Rep: Reputation: 30
I think I got it. Further reading suggests that I may in fact have to put in ProxyPass. like this:

ProxyPass / http://localhost:80/VirtualHostBase/...rtualHostRoot/
ProxyPassReverse / http://localhost:80/VirtualHostBase/...rtualHostRoot/
 
  


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
Apache mod_proxy Proxy Pass dancarl Linux - Software 0 08-15-2005 11:10 AM
Forward FTP Requests mitt Linux - Networking 7 04-08-2005 10:11 AM
Apache, forward requests to a vmware virtual machine Hube Linux - Software 2 09-02-2004 09:58 AM
forward all dns requests to one page Moszer Linux - Networking 4 05-25-2004 01:34 PM
Webmin Through Apache using mod_proxy... ech310n Linux - General 0 01-28-2004 04:12 PM


All times are GMT -5. The time now is 07:40 PM.

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