httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] Server side includes where the include is on another server...
Date Fri, 14 Mar 2008 14:18:19 GMT
On Fri, 14 Mar 2008 14:09:10 -0000
"michael watson \(IAH-C\)" <> 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="" -->
> Where 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/


Nick Kew

Application Development with Apache - the Apache Modules Book

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message