Re: mod_layout and wordpress, phpbb3 and other software

"Brady Bellinger" <[email protected]> Fri, 31 Oct 2008 00:02:54 -0400
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
--===============6970351220403674112==
Content-Type: multipart/alternative; 
	boundary="----=_Part_14276_26462687.1225425774334"

------=_Part_14276_26462687.1225425774334
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Scratch what I said about spare mod_sed documentation - I didn't look around
enough.  This still isn't an option for me until apache 2.4, though.

On Thu, Oct 30, 2008 at 11:57 PM, Brady Bellinger <[email protected]
> wrote:

> Another option is to front your site or pages with Apache 1.3 and use the
> mod_layout version for it.  The Apache 1.3 version is very solid and has
> more features than the 2 version.  If you require Apache 2.x for your app,
> you can plop Apache 1.3 in front of it using reverse proxy(ies).   I've used
> this method (using reverse proxies) in a 3500 user intranet without a
> problem.  I had to abandon this method when we adopted Siteminder to hook
> into our parent org's SSO environment, which required us to use Apache
> 2.0.x.  I still use a 1.3 backend and proxy some static web pages thought it
> with mod_layout, but I'd like to get rid of the 1.3 layer altogether for
> simplicity's sake.
>
> I quickly glanced at mod_sed, but the only documentation I could find is a
> shot readme with the source code.  I'm not confident I could write a solid
> sed expression to do what I do with mod_layout.  I'm certainly willing to
> give it a shot, though.
>
> Brady
>
>
> On Thu, Oct 30, 2008 at 9:39 PM, Samuel Vogel <[email protected]> wrote:
>
>> mod_layout is dead and does not work with newer versions of Apache
>> anymore!
>> Move on to mod_sed. It's similar to mod_layout an has none of its
>> glitches. It's also already in apache trunk, so it will probably be
>> part of Apache in the future.
>>
>> Regards,
>> Samy
>>
>> Am 30.10.2008 um 23:29 schrieb "MyHood info" <[email protected]>:
>>
>> > I have tried with almost all types of LayoutIgnoreURI's, but with no
>> > success. Can the command take "*" as a parameter? Ie, LayoutIgnoreURI
>> > "*/wp-content/*"
>> > Would that ignore all under the wp-content file?
>> >
>> > I would love to solve this one.
>> >
>> > No Bullshit-host:
>> > Have you solved it with wordpress? I can't find a solution for
>> > either wp or
>> > phpbb3, but I guess if one is solved for me, the other could be
>> > close to a
>> > solution as well, since the problems are quite similar.
>> >
>> > Thanks for the help so far!
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: [email protected]
>> > [mailto:[email protected]] On Behalf Of
>> > [email protected]
>> > Sent: den 29 oktober 2008 22:41
>> > To: [email protected]
>> > Subject: Re: [Mod_layout] mod_layout and wordpress, phpbb3 and other
>> > software
>> >
>> > probably, because mod_layout is wrapping all files with the .php
>> > extension, including files that aren't meant for browser display, ie:
>> > included classes, blocks of code, image display scripts.
>> >
>> > You can use htaccess to experiment with using LayoutIgnoreURI to keep
>> > mod_layout from wrapping certain files.
>> >
>> > On Oct 29, 2008, at 2:35 PM, No Bullshit XXX Host wrote:
>> >
>> >> Although I haven't solved this one Alexander, I am VERY interested in
>> >> any solutions you come up with.  I've run into the exact same issue,
>> >> especially with phpbb3.  Thus far, I've found no way to use
>> >> mod_layout
>> >> successfully with phpbb3.   I'm sure it can be done SOMEHOW.   Please
>> >> send another message to the list if you come up with anything, and
>> >> I'll do the same.
>> >>
>> >> Beardo
>> >>
>> >> 2008/10/29 MyHood info <[email protected]>:
>> >>> Hello!
>> >>>
>> >>>
>> >>>
>> >>> I'm really sorry if this is my second message, because I have no
>> >>> Idea if I
>> >>> managed to send a message previously.
>> >>>
>> >>>
>> >>>
>> >>> I have a problem which I've searched for, tested for and done
>> >>> everything in
>> >>> my power to fix, but I just can't do it.
>> >>>
>> >>>
>> >>>
>> >>> I'm running mod_layout 5.1 and have problem with some software; as
>> >>> far as I
>> >>> know already it is phpbb3 and wordpress. In wordpress, the headers
>> >>> get
>> >>> duplicated and that screws up it totally. I have no idea what is
>> >>> causing
>> >>> this.
>> >>>
>> >>>
>> >>>
>> >>> In phpbb3, the site is wrapped totally weird; you can take a look
>> >>> here:
>> >>> http://csdir.org/forum/
>> >>>
>> >>>
>> >>>
>> >>> The code that is to be executed is:
>> >>>
>> >>> <script type="text/javascript" src="http://www.myhood.se/ga.js"></
>> >>> script>
>> >>>
>> >>> <script type="text/javascript" src="http://www.myhood.se/ga2.js"></
>> >>> script>
>> >>>
>> >>>
>> >>>
>> >>> And by looking at the source, it looks like it is duplicated there
>> >>> as well..
>> >>>
>> >>>
>> >>>
>> >>> I just thought the mailing list would be the best chance for me to
>> >>> solve
>> >>> this, and I would LOVE if anyone could help me out here!
>> >>>
>> >>>
>> >>>
>> >>> Best regards
>> >>>
>> >>> Alexander Hjalmarsson
>> >>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> 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
>> >
>> > _______________________________________________
>> > 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
>> _______________________________________________
>> Mod_layout mailing list
>> [email protected]
>> http://lists.tangent.org/mailman/listinfo/mod_layout
>>
>
>
>
> --
> ----------------------------------------------
> brady at bradybellinger dot com
>
>


-- 
----------------------------------------------
brady at bradybellinger dot com

------=_Part_14276_26462687.1225425774334
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Scratch what I said about spare mod_sed documentation - I didn&#39;t look around enough.&nbsp; This still isn&#39;t an option for me until apache 2.4, though.<br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 11:57 PM, Brady Bellinger <span dir="ltr">&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Another option is to front your site or pages with Apache 1.3 and use the mod_layout version for it.&nbsp; The Apache 1.3 version is very solid and has more features than the 2 version.&nbsp; If you require Apache 2.x for your app, you can plop Apache 1.3 in front of it using reverse proxy(ies). &nbsp; I&#39;ve used this method (using reverse proxies) in a 3500 user intranet without a problem.&nbsp; I had to abandon this method when we adopted Siteminder to hook into our parent org&#39;s SSO environment, which required us to use Apache 2.0.x.&nbsp; I still use a 1.3 backend and proxy some static web pages thought it with mod_layout, but I&#39;d like to get rid of
  the 1.3 layer altogether for simplicity&#39;s sake.<br>

&nbsp;<br>I quickly glanced at mod_sed, but the only documentation I could find is a shot readme with the source code.&nbsp; I&#39;m not confident I could write a solid sed expression to do what I do with mod_layout.&nbsp; I&#39;m certainly willing to give it a shot, though.<br>

<br>Brady<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Oct 30, 2008 at 9:39 PM, Samuel Vogel <span dir="ltr">&lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
mod_layout is dead and does not work with newer versions of Apache<br>
anymore!<br>
Move on to mod_sed. It&#39;s similar to mod_layout an has none of its<br>
glitches. It&#39;s also already in apache trunk, so it will probably be<br>
part of Apache in the future.<br>
<br>
Regards,<br>
Samy<br>
<br>
Am 30.10.2008 um 23:29 schrieb &quot;MyHood info&quot; &lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;:<br>
<div><div></div><div><br>
&gt; I have tried with almost all types of LayoutIgnoreURI&#39;s, but with no<br>
&gt; success. Can the command take &quot;*&quot; as a parameter? Ie, LayoutIgnoreURI<br>
&gt; &quot;*/wp-content/*&quot;<br>
&gt; Would that ignore all under the wp-content file?<br>
&gt;<br>
&gt; I would love to solve this one.<br>
&gt;<br>
&gt; No Bullshit-host:<br>
&gt; Have you solved it with wordpress? I can&#39;t find a solution for<br>
&gt; either wp or<br>
&gt; phpbb3, but I guess if one is solved for me, the other could be<br>
&gt; close to a<br>
&gt; solution as well, since the problems are quite similar.<br>
&gt;<br>
&gt; Thanks for the help so far!<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; [mailto:<a href="mailto:[email protected]" target="_blank">[email protected]</a>] On Behalf Of<br>
&gt; <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; Sent: den 29 oktober 2008 22:41<br>
&gt; To: <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; Subject: Re: [Mod_layout] mod_layout and wordpress, phpbb3 and other<br>
&gt; software<br>
&gt;<br>
&gt; probably, because mod_layout is wrapping all files with the .php<br>
&gt; extension, including files that aren&#39;t meant for browser display, ie:<br>
&gt; included classes, blocks of code, image display scripts.<br>
&gt;<br>
&gt; You can use htaccess to experiment with using LayoutIgnoreURI to keep<br>
&gt; mod_layout from wrapping certain files.<br>
&gt;<br>
&gt; On Oct 29, 2008, at 2:35 PM, No Bullshit XXX Host wrote:<br>
&gt;<br>
&gt;&gt; Although I haven&#39;t solved this one Alexander, I am VERY interested in<br>
&gt;&gt; any solutions you come up with. &nbsp;I&#39;ve run into the exact same issue,<br>
&gt;&gt; especially with phpbb3. &nbsp;Thus far, I&#39;ve found no way to use<br>
&gt;&gt; mod_layout<br>
&gt;&gt; successfully with phpbb3. &nbsp; I&#39;m sure it can be done SOMEHOW. &nbsp; Please<br>
&gt;&gt; send another message to the list if you come up with anything, and<br>
&gt;&gt; I&#39;ll do the same.<br>
&gt;&gt;<br>
&gt;&gt; Beardo<br>
&gt;&gt;<br>
&gt;&gt; 2008/10/29 MyHood info &lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;:<br>
&gt;&gt;&gt; Hello!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m really sorry if this is my second message, because I have no<br>
&gt;&gt;&gt; Idea if I<br>
&gt;&gt;&gt; managed to send a message previously.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have a problem which I&#39;ve searched for, tested for and done<br>
&gt;&gt;&gt; everything in<br>
&gt;&gt;&gt; my power to fix, but I just can&#39;t do it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;m running mod_layout 5.1 and have problem with some software; as<br>
&gt;&gt;&gt; far as I<br>
&gt;&gt;&gt; know already it is phpbb3 and wordpress. In wordpress, the headers<br>
&gt;&gt;&gt; get<br>
&gt;&gt;&gt; duplicated and that screws up it totally. I have no idea what is<br>
&gt;&gt;&gt; causing<br>
&gt;&gt;&gt; this.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In phpbb3, the site is wrapped totally weird; you can take a look<br>
&gt;&gt;&gt; here:<br>
&gt;&gt;&gt; <a href="http://csdir.org/forum/" target="_blank">http://csdir.org/forum/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The code that is to be executed is:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://www.myhood.se/ga.js" target="_blank">http://www.myhood.se/ga.js</a>&quot;&gt;&lt;/<br>
&gt;&gt;&gt; script&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://www.myhood.se/ga2.js" target="_blank">http://www.myhood.se/ga2.js</a>&quot;&gt;&lt;/<br>
&gt;&gt;&gt; script&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; And by looking at the source, it looks like it is duplicated there<br>
&gt;&gt;&gt; as well..<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I just thought the mailing list would be the best chance for me to<br>
&gt;&gt;&gt; solve<br>
&gt;&gt;&gt; this, and I would LOVE if anyone could help me out here!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best regards<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Alexander Hjalmarsson<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Mod_layout mailing list<br>
&gt;&gt;&gt; <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt;&gt;&gt; <a href="http://lists.tangent.org/mailman/listinfo/mod_layout" target="_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Mod_layout mailing list<br>
&gt;&gt; <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt;&gt; <a href="http://lists.tangent.org/mailman/listinfo/mod_layout" target="_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mod_layout mailing list<br>
&gt; <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; <a href="http://lists.tangent.org/mailman/listinfo/mod_layout" target="_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
&gt; _______________________________________________<br>
&gt; Mod_layout mailing list<br>
&gt; <a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; <a href="http://lists.tangent.org/mailman/listinfo/mod_layout" target="_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
_______________________________________________<br>
Mod_layout mailing list<br>
<a href="mailto:[email protected]" target="_blank">[email protected]</a><br>
<a href="http://lists.tangent.org/mailman/listinfo/mod_layout" target="_blank">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>----------------------------------------------<br>brady at bradybellinger dot com<br><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------------<br>brady at bradybellinger dot com<br><br>

------=_Part_14276_26462687.1225425774334--

--===============6970351220403674112==
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

--===============6970351220403674112==--