You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chad Eric <ch...@yahoo.com> on 2001/12/05 17:27:12 UTC

Poor mans content switching?

All,
        I was wondering if there is a way to enable
content switching without having an arrowpoint device
on the network. Basically I want to know if it is
possible to enable content switching via Apache. So,
regular cgi/html/php requests will get processed on
the UNIX server and ASP/ColdFusion pages will be
processed by a w2k server and then returned to the
users browser.

Here is an example:

http://www.foo.com/index.php <- processed by UNIX
server

http://www.foo.com/index.asp <- processed by w2k
server

My goal here is to have a cross-platform webserver
without having to incur the cost of purchasing a
content switch.  

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Poor mans content switching?

Posted by Owen Boyle <ob...@bourse.ch>.
Chad Eric wrote:
> 
> All,
>         I was wondering if there is a way to enable
> content switching without having an arrowpoint device
> on the network. Basically I want to know if it is
> possible to enable content switching via Apache. So,
> regular cgi/html/php requests will get processed on
> the UNIX server and ASP/ColdFusion pages will be
> processed by a w2k server and then returned to the
> users browser.
> 
> Here is an example:
> 
> http://www.foo.com/index.php <- processed by UNIX
> server
> 
> http://www.foo.com/index.asp <- processed by w2k
> server
> 

A couple of guesses:

- use mod_rewrite to rewrite (*.asp) -> http://w2k-server/$1
- use apache in proxy mode with similar mapping..

rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org