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. 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"><<a moz-do-not-send="true" href="mailto:[email protected]">[email protected]</a>></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. 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.<br> <br> 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.<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"><<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>></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" <<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>>:<br> <div> <div><br> > I have tried with almost all types of LayoutIgnoreURI's, but with no<br> > success. Can the command take "*" as a parameter? Ie, LayoutIgnoreURI<br> > "*/wp-content/*"<br> > Would that ignore all under the wp-content file?<br> ><br> > I would love to solve this one.<br> ><br> > No Bullshit-host:<br> > Have you solved it with wordpress? I can't find a solution for<br> > either wp or<br> > phpbb3, but I guess if one is solved for me, the other could be<br> > close to a<br> > solution as well, since the problems are quite similar.<br> ><br> > Thanks for the help so far!<br> ><br> ><br> ><br> > -----Original Message-----<br> > From: <a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a><br> > [mailto:<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>] On Behalf Of<br> > <a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a><br> > Sent: den 29 oktober 2008 22:41<br> > To: <a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a><br> > Subject: Re: [Mod_layout] mod_layout and wordpress, phpbb3 and other<br> > software<br> ><br> > probably, because mod_layout is wrapping all files with the .php<br> > extension, including files that aren't meant for browser display, ie:<br> > included classes, blocks of code, image display scripts.<br> ><br> > You can use htaccess to experiment with using LayoutIgnoreURI to keep<br> > mod_layout from wrapping certain files.<br> ><br> > On Oct 29, 2008, at 2:35 PM, No Bullshit XXX Host wrote:<br> ><br> >> Although I haven't solved this one Alexander, I am VERY interested in<br> >> any solutions you come up with. I've run into the exact same issue,<br> >> especially with phpbb3. Thus far, I've found no way to use<br> >> mod_layout<br> >> successfully with phpbb3. I'm sure it can be done SOMEHOW. Please<br> >> send another message to the list if you come up with anything, and<br> >> I'll do the same.<br> >><br> >> Beardo<br> >><br> >> 2008/10/29 MyHood info <<a moz-do-not-send="true" href="mailto:[email protected]" target="_blank">[email protected]</a>>:<br> >>> Hello!<br> >>><br> >>><br> >>><br> >>> I'm really sorry if this is my second message, because I have no<br> >>> Idea if I<br> >>> managed to send a message previously.<br> >>><br> >>><br> >>><br> >>> I have a problem which I've searched for, tested for and done<br> >>> everything in<br> >>> my power to fix, but I just can't do it.<br> >>><br> >>><br> >>><br> >>> I'm running mod_layout 5.1 and have problem with some software; as<br> >>> far as I<br> >>> know already it is phpbb3 and wordpress. In wordpress, the headers<br> >>> get<br> >>> duplicated and that screws up it totally. I have no idea what is<br> >>> causing<br> >>> this.<br> >>><br> >>><br> >>><br> >>> In phpbb3, the site is wrapped totally weird; you can take a look<br> >>> here:<br> >>> <a moz-do-not-send="true" href="http://csdir.org/forum/" target="_blank">http://csdir.org/forum/</a><br> >>><br> >>><br> >>><br> >>> The code that is to be executed is:<br> >>><br> >>> <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>"></<br> >>> script><br> >>><br> >>> <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>"></<br> >>> script><br> >>><br> >>><br> >>><br> >>> And by looking at the source, it looks like it is duplicated there<br> >>> as well..<br> >>><br> >>><br> >>><br> >>> I just thought the mailing list would be the best chance for me to<br> >>> solve<br> >>> this, and I would LOVE if anyone could help me out here!<br> >>><br> >>><br> >>><br> >>> Best regards<br> >>><br> >>> Alexander Hjalmarsson<br> >>><br> >>><br> >>><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> >>><br> >>><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> ><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> > _______________________________________________<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> _______________________________________________<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==--