Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Content Negotiation

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


chad.morland at inquent

Dec 13, 2001, 11:22 AM

Post #1 of 2 (111 views)
Permalink
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 [at] httpd
For additional commands, e-mail: users-help [at] httpd


daniel at rawbyte

Dec 13, 2001, 11:32 AM

Post #2 of 2 (106 views)
Permalink
Re: Content Negotiation [In reply to]

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 [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>

---------------------------------------------------------------------
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 [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.