On Fri, 14 Mar 2008 14:09:10 -0000
"michael watson \(IAH-C\)" <[EMAIL PROTECTED]> wrote:

> Hello
> 
> I think I answered my own question, but lets try anyway.  I'm running
> apache 2.2.4 on Red Hat and I want to user server-side includes.  I
> can get them working if the include file is on the same server, but
> what I really want is something like:
> 
> <!--#include
> virtual="http://www.someotherserver.com/includes/leftcontent.html"; -->
> 
> Where http://www.someotherserver.com is a server that is NOT the one
> the shtml file is on, but a different server entirely (thogh still on
> our intranet).
> 
> Is this possible?

Not like that, though there's a patch that'll do it[1].

You can, however, reverse-proxy it:
<!--#include virtual="/backend/include/leftcontent.html"-->
and in httpd.conf:
ProxyPass /backend/ http://www.someotherserver.com/
etc.

[1] http://marc.info/?t=119353034300002&r=1&w=2

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to