Re: mod_layout and wordpress, phpbb3 and other software

Samuel Vogel <[email protected]> Fri, 31 Oct 2008 12:03:51 +0100
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============6882224343177687398==
Content-Type: multipart/alternative;
	boundary="------------040702010603020402010704"

This is a multi-part message in MIME format.
--------------040702010603020402010704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Why not?
It works with Apache 2.2 and from the point of adding an unsupported 
module to your Apache setup, it's just as bad as using mod_layout. But 
it actually works.
 From my point of view I would have never went with a setup like yours, 
proxying through Apache 1.3 just because mod_layout doesn't support 
newer versions of Apache!

Regards,
Samy

Brady Bellinger schrieb:
> 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] <mailto:[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]
>     <mailto:[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]
>         <mailto:[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]>
>         > [mailto:[email protected]
>         <mailto:[email protected]>] On Behalf Of
>         > [email protected] <mailto:[email protected]>
>         > Sent: den 29 oktober 2008 22:41
>         > To: [email protected]
>         <mailto:[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]
>         <mailto:[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]
>         <mailto:[email protected]>
>         >>> http://lists.tangent.org/mailman/listinfo/mod_layout
>         >>>
>         >>>
>         >> _______________________________________________
>         >> Mod_layout mailing list
>         >> [email protected]
>         <mailto:[email protected]>
>         >> http://lists.tangent.org/mailman/listinfo/mod_layout
>         >
>         > _______________________________________________
>         > Mod_layout mailing list
>         > [email protected]
>         <mailto:[email protected]>
>         > http://lists.tangent.org/mailman/listinfo/mod_layout
>         > _______________________________________________
>         > Mod_layout mailing list
>         > [email protected]
>         <mailto:[email protected]>
>         > http://lists.tangent.org/mailman/listinfo/mod_layout
>         _______________________________________________
>         Mod_layout mailing list
>         [email protected] <mailto:[email protected]>
>         http://lists.tangent.org/mailman/listinfo/mod_layout
>
>
>
>
>     -- 
>     ----------------------------------------------
>     brady at bradybellinger dot com
>
>
>
>
> -- 
> ----------------------------------------------
> brady at bradybellinger dot com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>   

--------------040702010603020402010704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Why not?<br>
It works with Apache 2.2 and from the point of adding an unsupported
module to your Apache setup, it's just as bad as using mod_layout. But
it actually works.<br>
>From my point of view I would have never went with a setup like yours,
proxying through Apache 1.3 just because mod_layout doesn't support
newer versions of Apache!<br>
<br>
Regards,<br>
Samy<br>
<br>
Brady Bellinger schrieb:
<blockquote
 cite="mid:[email protected]"
 type="cite">Scratch what I said about spare mod_sed documentation - I
didn't look around enough.&nbsp; This still isn'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 moz-do-not-send="true"
 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'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'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'd like to get
rid of the 1.3 layer altogether for simplicity'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'm not confident I could write
a solid sed expression to do what I do with mod_layout.&nbsp; I'm certainly
willing to give it a shot, though.<br>
    <br>
Brady
    <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 moz-do-not-send="true"
 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's similar to mod_layout an has none of its<br>
glitches. It'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 "MyHood info" &lt;<a
 moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;:<br>
      <div>
      <div><br>
&gt; I have tried with almost all types of LayoutIgnoreURI's, but with
no<br>
&gt; success. Can the command take "*" as a parameter? Ie,
LayoutIgnoreURI<br>
&gt; "*/wp-content/*"<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'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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; [mailto:<a moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a>]
On Behalf Of<br>
&gt; <a moz-do-not-send="true" href="mailto:[email protected]"
 target="_blank">[email protected]</a><br>
&gt; Sent: den 29 oktober 2008 22:41<br>
&gt; To: <a moz-do-not-send="true"
 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'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't solved this one Alexander, I am VERY
interested in<br>
&gt;&gt; any solutions you come up with. &nbsp;I've run into the exact same
issue,<br>
&gt;&gt; especially with phpbb3. &nbsp;Thus far, I've found no way to use<br>
&gt;&gt; mod_layout<br>
&gt;&gt; successfully with phpbb3. &nbsp; I'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'll do the same.<br>
&gt;&gt;<br>
&gt;&gt; Beardo<br>
&gt;&gt;<br>
&gt;&gt; 2008/10/29 MyHood info &lt;<a moz-do-not-send="true"
 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'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'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't do it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I'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 moz-do-not-send="true" 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="text/javascript" src="<a
 moz-do-not-send="true" href="http://www.myhood.se/ga.js"
 target="_blank">http://www.myhood.se/ga.js</a>"&gt;&lt;/<br>
&gt;&gt;&gt; script&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &lt;script type="text/javascript" src="<a
 moz-do-not-send="true" href="http://www.myhood.se/ga2.js"
 target="_blank">http://www.myhood.se/ga2.js</a>"&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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt;&gt;&gt; <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt;&gt; <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
&gt; <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 href="mailto:[email protected]" target="_blank">[email protected]</a><br>
      <a moz-do-not-send="true"
 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>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Mod_layout mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.tangent.org/mailman/listinfo/mod_layout">http://lists.tangent.org/mailman/listinfo/mod_layout</a>
  </pre>
</blockquote>
</body>
</html>

--------------040702010603020402010704--

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

--===============6882224343177687398==--