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 Morland <ch...@inquent.com> on 2001/12/13 19:22:55 UTC

Content Negotiation

All, 
	I was wondering if anyone out there knows some way that I could
get apache to do some content negotiation. Basically I have a UNIX
webserver running apache that fits all of my needs. But, I am starting to
use asp and ColdFusion. I have setup an NFS share on my UNIX machine to
share the data with a win2k machine but I still need to figure out a
way to have the win2k machine proccess the asp and CF pages and send them
back to the visitor through the unix machine. I was thinking mod_proxy may
be able to do what I need but I'm not sure where to start. Any ideas??

Here is a brief example of what I am trying to do:

http://foo.com/index.(php\html\cgi\shtml) -> served by UNIX
http://foo.com/index.(asp\cfm) -> served by windows  


.............................................
Chad Morland
.............................................





---------------------------------------------------------------------
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: Content Negotiation

Posted by Daniel Lopez <da...@rawbyte.com>.
You can have the microsoft and cold fusion machines behind Apache.
You then configure Apache as a reverse proxy for those file extensions that
you want windows to serve:

client ----> Apache -----> Windows

You can do the selection of which files to reverse proxy using either
<location> blocks or mod_rewrite
Have a look at the apache docs for mod_rewrite, proxypass, proxypassreverse
The mod_rewrite docs have a set of practical scenarios that you will find
useful

Best regards

DAniel

On Thu, Dec 13, 2001 at 01:22:55PM -0500, Chad Morland wrote:
> All, 
> 	I was wondering if anyone out there knows some way that I could
> get apache to do some content negotiation. Basically I have a UNIX
> webserver running apache that fits all of my needs. But, I am starting to
> use asp and ColdFusion. I have setup an NFS share on my UNIX machine to
> share the data with a win2k machine but I still need to figure out a
> way to have the win2k machine proccess the asp and CF pages and send them
> back to the visitor through the unix machine. I was thinking mod_proxy may
> be able to do what I need but I'm not sure where to start. Any ideas??
> 
> Here is a brief example of what I am trying to do:
> 
> http://foo.com/index.(php\html\cgi\shtml) -> served by UNIX
> http://foo.com/index.(asp\cfm) -> served by windows  
> 
> 
> .............................................
> Chad Morland
> .............................................
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 

---------------------------------------------------------------------
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