Re: mod_layout and mod_proxy

No Bullshit XXX Host <[email protected]> Thu, 9 Apr 2009 09:58:53 -0400
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
--===============3703600228522802886==
Content-Type: multipart/alternative; boundary=0016e644d6ae0202cd04671fa6c5

--0016e644d6ae0202cd04671fa6c5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Have you tested mod_layout without your mod_proxy setup, to be sure
mod_layout is installed & working?

On Thu, Apr 9, 2009 at 4:56 AM, Boris Dimitrov <[email protected]> wrote:

> 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
>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>

--0016e644d6ae0202cd04671fa6c5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Have you tested mod_layout without your mod_proxy setup, to be sure mod_lay=
out is installed &amp; working?<br><br><div class=3D"gmail_quote">On Thu, A=
pr 9, 2009 at 4:56 AM, Boris Dimitrov <span dir=3D"ltr">&lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div class=3D"im">On Tue, 2009-04-07 at 17:=
33 -0400, No Bullshit XXX Host wrote:<br>
&gt; although I&#39;ve never dealt much with mod_proxy, I think mod_layout<=
br>
&gt; should be able to do this for you. try something like this:<br>
&gt;<br>
&gt;<br>
&gt; &lt;Directory &quot;/any/path/&quot;&gt;<br>
&gt; AddOutputFilterByType LAYOUT text/html<br>
&gt; LayoutFooter /any/path/footer.html<br>
&gt; LayoutHeader /any/path/header.html<br>
&gt; &lt;/Directory&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; can also just use that in yourVirtualHost or whatever. I&#39;m n=
ot 100%<br>
<div><div></div><div class=3D"h5">&gt; sure if this will work for you, but =
sometimes there aren&#39;t many people<br>
&gt; replying to this list, so I thought I&#39;d try.<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Apr 7, 2009 at 10:47 AM, Boris Dimitrov &lt;<a href=3D"mailto:=
[email protected]">[email protected]</a>&gt;<br>
&gt; wrote:<br>
&gt; =A0 =A0 =A0 =A0 Hello list , is there a way to configure mod_layout an=
d<br>
&gt; =A0 =A0 =A0 =A0 mod_proxy to<br>
&gt; =A0 =A0 =A0 =A0 rewrite the html content of pages that users of my apa=
che<br>
&gt; =A0 =A0 =A0 =A0 proxy server<br>
&gt; =A0 =A0 =A0 =A0 are viewing ?<br>
&gt; =A0 =A0 =A0 =A0 I have to do some banner advertise headers at every pa=
ge user<br>
&gt; =A0 =A0 =A0 =A0 visit ,<br>
&gt; =A0 =A0 =A0 =A0 the proxy server will serve internet pages such google=
,myspace<br>
&gt; =A0 =A0 =A0 =A0 etc...<br>
&gt; =A0 =A0 =A0 =A0 I can&#39;t find useful information about this issue ,=
 the docs<br>
&gt; =A0 =A0 =A0 =A0 says nothing<br>
&gt; =A0 =A0 =A0 =A0 about LayoutProxy directive , when i turn it on my apa=
che<br>
&gt; =A0 =A0 =A0 =A0 says :<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Invalid command &#39;LayoutProxy&#39;, perhaps misspel=
led or defined<br>
&gt; =A0 =A0 =A0 =A0 by a module<br>
&gt; =A0 =A0 =A0 =A0 not included in the server configuration<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 OS : Debian Lenny<br>
&gt; =A0 =A0 =A0 =A0 Server version: Apache/2.2.9 (Debian)<br>
&gt; =A0 =A0 =A0 =A0 mod_layout version: 5.1<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 Sorry for my poor english<br>
&gt; =A0 =A0 =A0 =A0 Thanks in advance<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 =A0 _______________________________________________<br>
&gt; =A0 =A0 =A0 =A0 Mod_layout mailing list<br>
&gt; =A0 =A0 =A0 =A0 <a href=3D"mailto:[email protected]">Mod_la=
[email protected]</a><br>
&gt; =A0 =A0 =A0 =A0 <a href=3D"http://lists.tangent.org/mailman/listinfo/m=
od_layout" target=3D"_blank">http://lists.tangent.org/mailman/listinfo/mod_=
layout</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mod_layout mailing list<br>
&gt; <a href=3D"mailto:[email protected]">[email protected]=
nt.org</a><br>
&gt; <a href=3D"http://lists.tangent.org/mailman/listinfo/mod_layout" targe=
t=3D"_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
<br>
<br>
<br>
<br>
</div></div>Unfortunately , it does not work , still trying to map proxy re=
quests<br>
to mod_layout , without any luck , is there a someone who has dealt<br>
with that issue ?<br>
<div><div></div><div class=3D"h5"><br>
Thanks in advance<br>
<br>
_______________________________________________<br>
Mod_layout mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
g</a><br>
<a href=3D"http://lists.tangent.org/mailman/listinfo/mod_layout" target=3D"=
_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
</div></div></blockquote></div><br>

--0016e644d6ae0202cd04671fa6c5--

--===============3703600228522802886==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mod_layout mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_layout

--===============3703600228522802886==--