The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
redirect STDIN prkfriryce Shell Programming and Scripting 4 01-04-2007 10:11 AM
How to redirect std out and std err to same file 0ktalmagik Shell Programming and Scripting 2 07-04-2006 07:04 PM
PHP Redirect perleo Shell Programming and Scripting 2 05-11-2003 11:17 AM
Redirect Xterm barisgultekin UNIX for Dummies Questions & Answers 1 07-18-2002 01:33 PM
Redirect <Therapy> IP Networking 1 03-20-2002 08:54 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-27-2008
alfredo alfredo is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 18
Apache Redirect Transparently

I have two servers running apache server, namely server A and B.

All users access server A, but for some application, I would like to redirect the request to server B.

I have set apache redirect in server A apache config file.
Redirect /application http://serverB/application

Now, the flow becomes
1. Users input http://serverA/application
2. Redirect request to http://serverB/application
3. Users see the web page changed from http://serverA/application to http://serverB/application

Actually, I do not prefer users to see the web page changed. Is there any method that can redirect the request transparently to user?
Thank you!
  #2 (permalink)  
Old 03-27-2008
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Helo alfredo.
For that purposes, I usually use mod_proxy and configure Apache as a reverse proxy like this, on your serverA (for Apache 1.3):
Code:
ProxyRequests Off

<Directory proxy:*>
   Order Deny,Allow
   #Deny from all
   Allow from all
</Directory>

ProxyPass /application http://serverB/application
ProxyPassReverse /application http://serverB/application
Regards.
  #3 (permalink)  
Old 03-27-2008
alfredo alfredo is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 18
Thank you very much!
This is exactly what I want.
Thanks!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0