httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <>
Subject Re: [users@httpd] Using SSI in proxied content
Date Wed, 05 Dec 2007 21:36:28 GMT
On 05/12/2007, Marko Asplund <> wrote:
> I'm trying to setup a Apache reverse proxy to run server-side include
> commands included in proxied content.
> Apache proxies content coming from Tomcat using mod_proxy_ajp.
> SSI commands get run in local content, but not in proxied content.
> Should this sort of setup work with Apache 2.2 or is this just a problem
> with my configuration?

It should work for proxied content, assuming your config specifies the
filter correctly. Something like this should work:

LoadModule includes_module modules/

# ...

<VirtualHost *:80>
 ProxyPass / http://localhost:8080/
 ProxyPassReverse / http://localhost:8080/
 AddOutputFilterByType INCLUDES text/html
 # I'm not sure if this is necessary..
 <Location />
  Options Includes


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