LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2004, 05:25 AM   #1
steve_babbage
LQ Newbie
 
Registered: Jul 2003
Location: Australia
Distribution: redhat9
Posts: 23

Rep: Reputation: 15
multiple servers on port 80


Hi,

Is there a painless way to allow multiple port 80 sessions to be sent to different pysical web servers.

Assume i have a boring web page about me on one server, but i have some more interesting stuff on another server but on a different address:

EG:

www.mycompany.com/info/boring_page.htm

needs to go to my server at 192.168.10.5

and

www.mycompany.com/media/intersting_page.htm

needs to go to 192.168.10.6

The reason is simple. The first machine is apache, and the second machine is IIS

Can this 'steering' be done based on the url?
I have a spare linux box with two nics, could this be used?

Any thoughts??
 
Old 02-18-2004, 07:01 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

This should help you rewrite the URL.
 
Old 02-18-2004, 02:24 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you are doing this because you only have one IP address then you will need to look at apache's proxying features.
 
Old 02-18-2004, 04:39 PM   #4
member57
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
Why not mount the "share" from the IIS machine to the Linux box using mount command then assign access thru Apache using virtual hosting?
 
Old 02-19-2004, 07:03 AM   #5
steve_babbage
LQ Newbie
 
Registered: Jul 2003
Location: Australia
Distribution: redhat9
Posts: 23

Original Poster
Rep: Reputation: 15
cheers!

many thanks all you guys. got some reading to do now!!
 
  


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
Multiple servers acasaamj Linux - General 1 06-10-2005 12:09 AM
multiple servers listening on port 80 ruprecht Linux - Networking 2 03-05-2004 07:15 AM
Multiple X servers Stephanie Linux - General 2 02-27-2003 02:32 PM
multiple x servers?? icyfire Linux - Software 2 11-12-2002 01:42 AM
multiple X servers acid_kewpie Linux - General 1 11-11-2001 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:16 AM.

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