Re: documentation? debug mode?
"Omar K." <[email protected]> Fri, 4 Jul 2008 23:47:39 +0300
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Message-ID | <003c01c8de17$3859c340$a90d49c0$@com> |
This is a multipart message in MIME format. --===============8453465801161288564== Content-Type: multipart/alternative; boundary="----=_NextPart_000_003D_01C8DE30.5DA6FB40" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_003D_01C8DE30.5DA6FB40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit For all practical reasons you can consider this project dead :) From: [email protected] [mailto:[email protected]] On Behalf Of Ben Burgess Sent: Friday, July 04, 2008 10:56 PM To: [email protected] Subject: Re: [Mod_layout] documentation? debug mode? I never had any luck finding documentation. My setup was all trial and error and I only use it for some basic advertisement includes. On 7/4/08, Marcel (Felix) Giannelia <[email protected]> wrote: Hi, I'm trying to use the Layout directive and it just plain doesn't do anything. It works fine if I use LayoutFooter and LayoutHeader, but I want to use Layout to insert some ad code after a specific tag. I've so far been unable to find any documentation other than the really old stuff here: http://docs.tangent.org/mod_layout/faq-3.html , much of which is 404, and a mirror of the missing bits here: http://www.musc.edu/webserver/directives/ . Actually, the best documentation I was able to find was the directives.h file, which at the very least gives me a slightly newer list of directives (but is itself out of date -- it lists the apparently defunct LayoutMerge for example). I'm also confused about how to specify a pattern -- the tag I want to match on my pages is <td class="center">, which has a space in it, as well as quotes. Do I put single quotes around the whole thing? Do I backslash the quotes and the space? What kind of pattern syntax does mod_layout expect? Anyway, that's a moot point, because even when I try much simpler patterns (the string "replaceme"), the Layout directive has no effect whatsoever. I tried compiling with DEBUG defined, but I can't figure out where those debug messages are supposed to be output -- and yes, I tried running apache with loglevel debug; nothing. The directive that I'm trying to use is: Layout "replaceme" "test" append Help? (Apache 2.2.4, then tried upgrading to 2.2.8) ~Felix. _______________________________________________ Mod_layout mailing list [email protected] http://lists.tangent.org/mailman/listinfo/mod_layout -- Sincerely, Ben Burgess [email protected] > 707.225.2872 (mobile) ------=_NextPart_000_003D_01C8DE30.5DA6FB40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.gmailquote {mso-style-name:gmail_quote;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>For all practical reasons you can consider this project dead = :)<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3D"#1f497d" = face=3DCalibri><span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></font></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt; font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></= b><font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> [email protected] [mailto:[email protected]] <b><span = style=3D'font-weight: bold'>On Behalf Of </span></b>Ben Burgess<br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, July 04, = 2008 10:56 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Mod_layout] documentation? debug mode?<o:p></o:p></span></font></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>I never had = any luck finding documentation. My setup was all trial and error and I only use = it for some basic advertisement includes.<o:p></o:p></span></font></p> <div> <p class=3DMsoNormal><span class=3Dgmailquote><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>On 7/4/08, <b><span = style=3D'font-weight:bold'>Marcel (Felix) Giannelia</span></b> <<a = href=3D"mailto:[email protected]">[email protected]</a>> wrote:</span></font></span> <o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>Hi,<br> <br> I'm trying to use the Layout directive and it just plain doesn't do<br> anything. It works fine if I use LayoutFooter and LayoutHeader, but = I<br> want to use Layout to insert some ad code after a specific tag.<br> <br> I've so far been unable to find any documentation other than the = really<br> old stuff here: <a = href=3D"http://docs.tangent.org/mod_layout/faq-3.html">http://docs.tangen= t.org/mod_layout/faq-3.html</a> , much of<br> which is 404, and a mirror of the missing bits here:<br> <a = href=3D"http://www.musc.edu/webserver/directives/">http://www.musc.edu/we= bserver/directives/</a> .<br> <br> Actually, the best documentation I was able to find was the = directives.h<br> file, which at the very least gives me a slightly newer list of<br> directives (but is itself out of date -- it lists the apparently = defunct<br> LayoutMerge for example).<br> <br> I'm also confused about how to specify a pattern -- the tag I want = to<br> match on my pages is <td class=3D"center">, which has a = space in it, as<br> well as quotes. Do I put single quotes around the whole thing? Do I<br> backslash the quotes and the space? What kind of pattern syntax does<br> mod_layout expect?<br> <br> Anyway, that's a moot point, because even when I try much simpler<br> patterns (the string "replaceme"), the Layout directive has no = effect<br> whatsoever. I tried compiling with DEBUG defined, but I can't figure = out<br> where those debug messages are supposed to be output -- and yes, I = tried<br> running apache with loglevel debug; nothing.<br> <br> The directive that I'm trying to use is:<br> <br> Layout "replaceme" "test" append<br> <br> Help?<br> <br> (Apache 2.2.4, then tried upgrading to 2.2.8)<br> <br> ~Felix.<br> <br> <br> _______________________________________________<br> Mod_layout mailing list<br> <a = href=3D"mailto:[email protected]">[email protected]= </a><br> <a = href=3D"http://lists.tangent.org/mailman/listinfo/mod_layout">http://list= s.tangent.org/mailman/listinfo/mod_layout</a><o:p></o:p></span></font></p= > </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><br> <br clear=3Dall> <br> -- <br> Sincerely,<br> Ben Burgess<br> <a href=3D"mailto:[email protected]">[email protected]</a> > = 707.225.2872 (mobile) <o:p></o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_003D_01C8DE30.5DA6FB40-- --===============8453465801161288564== 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 --===============8453465801161288564==--