Re: mod_layout and mod_proxy
Boris Dimitrov <[email protected]> Thu, 09 Apr 2009 11:56:12 +0300
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Organization | Playtime LTD. |
| Message-ID | <[email protected]> |
On Tue, 2009-04-07 at 17:33 -0400, No Bullshit XXX Host wrote: > although I've never dealt much with mod_proxy, I think mod_layout > should be able to do this for you. try something like this: > > > <Directory "/any/path/"> > AddOutputFilterByType LAYOUT text/html > LayoutFooter /any/path/footer.html > LayoutHeader /any/path/header.html > </Directory> > > > > can also just use that in yourVirtualHost or whatever. I'm not 100% > sure if this will work for you, but sometimes there aren't many people > replying to this list, so I thought I'd try. > > > On Tue, Apr 7, 2009 at 10:47 AM, Boris Dimitrov <[email protected]> > wrote: > Hello list , is there a way to configure mod_layout and > mod_proxy to > rewrite the html content of pages that users of my apache > proxy server > are viewing ? > I have to do some banner advertise headers at every page user > visit , > the proxy server will serve internet pages such google,myspace > etc... > I can't find useful information about this issue , the docs > says nothing > about LayoutProxy directive , when i turn it on my apache > says : > > Invalid command 'LayoutProxy', perhaps misspelled or defined > by a module > not included in the server configuration > > > OS : Debian Lenny > Server version: Apache/2.2.9 (Debian) > mod_layout version: 5.1 > > > Sorry for my poor english > Thanks in advance > > > _______________________________________________ > Mod_layout mailing list > [email protected] > http://lists.tangent.org/mailman/listinfo/mod_layout > > > _______________________________________________ > Mod_layout mailing list > [email protected] > http://lists.tangent.org/mailman/listinfo/mod_layout Unfortunately , it does not work , still trying to map proxy requests to mod_layout , without any luck , is there a someone who has dealt with that issue ? Thanks in advance