LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-19-2006, 11:32 PM   #1
alejandroye
Member
 
Registered: May 2004
Location: SOUTH FLORIDA USA
Distribution: MANDRIVA / CENTOS
Posts: 146

Rep: Reputation: 15
Windows and Linux Server with apache


Ok. I am running a linux server (mandrake 10.1) with apache 2 (httpd2)virtual hosts, and this access to internet by port 80, and IP 192.168.1.100
also I have windows server with the IP 192.168.1.101

my question is the following:

how Can I setup apache to understand, when they have to access to these different IP in different OS (Linux and Windows)

 
Old 04-20-2006, 05:47 AM   #2
adrianp918
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
you need to have 2 seperate external ip's, or have the listening port on one of the servers set to something different, like port 80. for one, and 81 for the other

you can not route traffic to 2 different machines on port 80,

i have heard of a script that did this, but it involved in forwarding you to a different machine, ,and did this by your os or browser type thing. nothing to rock solid
 
Old 04-20-2006, 09:32 AM   #3
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Alternatively, you could configure apache as a reverse proxy, so that requests to /folder1 get forwarded to your 192.168.1.100 server, and requests to /folder2 get forwarded to your 192.168.1.101 server.

See http://www.apacheweek.com/features/reverseproxies for details on configuring apache as a reverse proxy.
 
  


Reply

Tags
apache, proxy


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
How to setup windows apache web hosting server? johncsl82 General 9 04-06-2006 12:48 AM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 06:03 AM
Mapping a network drive from Windows 2k to an ftp, Apache/1.3.27 Server DumbWindow$User General 5 04-08-2004 12:16 PM
Setup linux-apache server to access documents on NT server josephswagner Linux - Software 11 04-11-2003 08:35 AM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 10:14 AM


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