openSUSE Forums > Archives > SF Archives > ARCHIVES - Network/Internet » Re-direct Http Traffic To Specific Ip Addresses

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network/Internet Questions regarding network or Internet configuration and use in SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-May-2008, 23:05
stevek
Guest
 
Posts: n/a
Default

Does anyone know how i can re-direct http traffic to certian ip addresses based on the header.

For instance, if i have my main website (www.site1.test.com) running on my apache server @ 192.168.128.1.
Then i have another web site (www.site2.test.com) running on an embedded device @ 192.168.128.10.

Is there a way to look at the headers and forward the requests to the appropiate web server?

Before we changed over to linux i used to run ISA2004 which would allow me to redirect traffic based on the header.
I have tried google and have not really found anything that will seem to do the trick.

Thanks Steve.
  #2 (permalink)  
Old 29-May-2008, 00:49
ken_yap
Guest
 
Posts: n/a
Default

You need an application level proxy to do that. Apache can do this in proxy forward mode. You can't do it at the packet level (firewall) because it would involve too much inspection of the TCP stream.

Look at the docs for mod_proxy at httpd.apache.org, and also Google for tutes.
  #3 (permalink)  
Old 29-May-2008, 02:53
FuryWS
Guest
 
Posts: n/a
Default


Ken_yap gave good advice, but just to eliminate the possibility, you can't sort that with nameservers, you really need header based redirection?
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2