Re: Problem with 4.1 and apache 2

Gordon Campbell <[email protected]> Wed, 24 Oct 2007 12:31:53 -0400
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3689574717515786585==
Content-Type: multipart/alternative;
	boundary="------------020901050701040602030800"

This is a multi-part message in MIME format.
--------------020901050701040602030800
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail.tangent.org id l9OHBNgY026032

That works perfectly if I want to wrap php a header and footer around an=20
html page, Brian. but, my pages are ALL php. I get a blank screen when I=20
try load a php page:

   <Directory "/homes/oceanus/www">
        allow from all
        Options +Indexes
        # mod_layout:
       AddOutputFilter LAYOUT html
       AddOutputFilter LAYOUT php
       LayoutHeader auto/quarg_head.php
       LayoutFooter auto/quarg_tail.php
    </Directory>

Any idea?

Cheers,
......G


Brian Aker wrote:
> Hi!
>
> This is an example:
> <Directory /usr/local/apache/htdocs/dan/docs>
> AllowOverride All
> # mod_layout:
> AddOutputFilter LAYOUT html
> AddOutputFilter LAYOUT shtml
> AddOutputFilter LAYOUT htm
> AddOutputFilter LAYOUT php
> LayoutHeader /docs/bannerad.h
> #LayoutFooter /docs/bannerad.h
> IndexIgnore bannerad.h
> </Directory>
>
> I am not sure if you can put multiple types on the same line. Also, =20
> the mod_layout filter must be listed after the PHP filter.
>
> Cheers,
> 	-Brian
>
> On Oct 23, 2007, at 8:44 AM, [email protected] wrote:
>
>  =20
>> =E3=80=80I'm using mo_layout4.1 with apache 2.0.52 ,CentOS4.
>> I think that mod_layout 4.1 doesn't work with php files.
>>
>> But it works with cgi files.
>> So I am using with cgi files.
>>
>> I also want to know how to work with php files.
>>
>> Regards
>>
>> _/_/_/_/_/_/_/_/_/_/
>> Hiroyoshi
>> URL: http://jmj.at/
>> _/_/_/_/_/_/_/_/_/_/
>>
>> 2007/10/23, Gordon Campbell <[email protected]>:
>>    =20
>>> Good morning, I'm having a terrible time getting mod_layout 4.1 to
>>> cooperate on apache 2.0.51 on a Fedora machine.
>>>
>>> Here are the directives I'm using:
>>>
>>>         AddOutputFilter LAYOUT php html
>>>         LayoutFooter auto/quarg_tail.php"
>>>         LayoutHeader auto/quarg_head.php
>>>
>>> The pages that need to be wrapped are all php pages.
>>>
>>> This all works just fine with mod_layout 3.2.1 under apache 1.3.27 =20
>>> with
>>> these directives:
>>>
>>>     LayoutReplaceTags On
>>>     LayoutMerge On
>>>     LayoutHeader auto/quarg_head.php
>>>     LayoutFooter auto/quarg_tail.php
>>>
>>> Can someone please give me a hand? Thanks.
>>>
>>> Cheers,
>>> ......G
>>> _______________________________________________
>>> Mod_layout mailing list
>>> [email protected]
>>> http://lists.tangent.org/mailman/listinfo/mod_layout
>>>
>>>      =20
>> _______________________________________________
>> Mod_layout mailing list
>> [email protected]
>> http://lists.tangent.org/mailman/listinfo/mod_layout
>>    =20
>
> --
> _______________________________________________________
> Brian "Krow" Aker, brian at tangent.org
> Seattle, Washington
> http://krow.net/                     <-- Me
> http://tangent.org/                <-- Software
> http://exploitseattle.com/    <-- Fun
> _______________________________________________________
> You can't grep a dead tree.
>
>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>
>  =20

--=20
*****************************************************
**    Gordon Campbell                              **
**    Systems Administrator                        **
**    Department of Physics, Queen's University    **
**    Kingston, Ontario K7L 3N6                    **
**    (613) 533-6000 x74781                        **
**    [email protected]                    **
**    perl -e 'print $i=3Dpack(c5,(41*2), \          **
**    sqrt(7056),(unpack(c,H)-2),oct(115),10);'    **
*****************************************************
READ CAREFULLY: By reading this email you agree, on behalf of your employ=
er, to release me from all obligations and waivers arising from any and a=
ll NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, cli=
ckwrap, browsewrap, confidentiality, non-disclosure, non-compete and acce=
ptable use policies (=E2=80=9DBOGUS AGREEMENTS=E2=80=9D) that I have ente=
red into with your employer, its partners, licensors, agents and assigns,=
 in perpetuity, without prejudice to my ongoing rights and privileges. Yo=
u further represent that you have the authority to release me from any BO=
GUS AGREEMENTS on behalf of your employer.


--------------020901050701040602030800
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mail.tangent.org id l9OHBNgY026032

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"=
>
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
That works perfectly if I want to wrap php a header and footer around
an html page, Brian. but, my pages are ALL php. I get a blank screen
when I try load a php page:<br>
<br>
=C2=A0=C2=A0 &lt;Directory "/homes/oceanus/www"&gt;<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 allow from all<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Options +Indexes<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # mod_layout:<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AddOutputFilter LAYOUT html<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AddOutputFilter LAYOUT php<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LayoutHeader auto/quarg_head.php<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LayoutFooter auto/quarg_tail.php<br>
=C2=A0=C2=A0=C2=A0 &lt;/Directory&gt;<br>
<br>
Any idea?<br>
<br>
Cheers,<br>
......G<br>
<br>
<br>
Brian Aker wrote:
<blockquote cite=3D"mid:[email protected]"
 type=3D"cite">
  <pre wrap=3D"">Hi!

This is an example:
&lt;Directory /usr/local/apache/htdocs/dan/docs&gt;
AllowOverride All
# mod_layout:
AddOutputFilter LAYOUT html
AddOutputFilter LAYOUT shtml
AddOutputFilter LAYOUT htm
AddOutputFilter LAYOUT php
LayoutHeader /docs/bannerad.h
#LayoutFooter /docs/bannerad.h
IndexIgnore bannerad.h
&lt;/Directory&gt;

I am not sure if you can put multiple types on the same line. Also, =20
the mod_layout filter must be listed after the PHP filter.

Cheers,
	-Brian

On Oct 23, 2007, at 8:44 AM, <a class=3D"moz-txt-link-abbreviated" href=3D=
"mailto:[email protected]">[email protected]</a> wrote:

  </pre>
  <blockquote type=3D"cite">
    <pre wrap=3D"">=E3=80=80I'm using mo_layout4.1 with apache 2.0.52 ,Ce=
ntOS4.
I think that mod_layout 4.1 doesn't work with php files.

But it works with cgi files.
So I am using with cgi files.

I also want to know how to work with php files.

Regards

_/_/_/_/_/_/_/_/_/_/
Hiroyoshi
URL: <a class=3D"moz-txt-link-freetext" href=3D"http://jmj.at/">http://jm=
j.at/</a>
_/_/_/_/_/_/_/_/_/_/

2007/10/23, Gordon Campbell <a class=3D"moz-txt-link-rfc2396E" href=3D"ma=
ilto:[email protected]">&lt;[email protected]&gt;</a>:
    </pre>
    <blockquote type=3D"cite">
      <pre wrap=3D"">Good morning, I'm having a terrible time getting mod=
_layout 4.1 to
cooperate on apache 2.0.51 on a Fedora machine.

Here are the directives I'm using:

        AddOutputFilter LAYOUT php html
        LayoutFooter auto/quarg_tail.php"
        LayoutHeader auto/quarg_head.php

The pages that need to be wrapped are all php pages.

This all works just fine with mod_layout 3.2.1 under apache 1.3.27 =20
with
these directives:

    LayoutReplaceTags On
    LayoutMerge On
    LayoutHeader auto/quarg_head.php
    LayoutFooter auto/quarg_tail.php

Can someone please give me a hand? Thanks.

Cheers,
......G
_______________________________________________
Mod_layout mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
gent.org">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.tangent.org/mailm=
an/listinfo/mod_layout">http://lists.tangent.org/mailman/listinfo/mod_lay=
out</a>

      </pre>
    </blockquote>
    <pre wrap=3D"">_______________________________________________
Mod_layout mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
gent.org">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.tangent.org/mailm=
an/listinfo/mod_layout">http://lists.tangent.org/mailman/listinfo/mod_lay=
out</a>
    </pre>
  </blockquote>
  <pre wrap=3D""><!---->
--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
<a class=3D"moz-txt-link-freetext" href=3D"http://krow.net/">http://krow.=
net/</a>                     &lt;-- Me
<a class=3D"moz-txt-link-freetext" href=3D"http://tangent.org/">http://ta=
ngent.org/</a>                &lt;-- Software
<a class=3D"moz-txt-link-freetext" href=3D"http://exploitseattle.com/">ht=
tp://exploitseattle.com/</a>    &lt;-- Fun
_______________________________________________________
You can't grep a dead tree.


_______________________________________________
Mod_layout mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:[email protected]=
gent.org">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"http://lists.tangent.org/mailm=
an/listinfo/mod_layout">http://lists.tangent.org/mailman/listinfo/mod_lay=
out</a>

  </pre>
</blockquote>
<br>
<pre class=3D"moz-signature" cols=3D"72">--=20
*****************************************************
**    Gordon Campbell                              **
**    Systems Administrator                        **
**    Department of Physics, Queen's University    **
**    Kingston, Ontario K7L 3N6                    **
**    (613) 533-6000 x74781                        **
**    <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:gordon@physics=
.queensu.ca">[email protected]</a>                    **
**    perl -e 'print $i=3Dpack(c5,(41*2), \          **
**    sqrt(7056),(unpack(c,H)-2),oct(115),10);'    **
*****************************************************
READ CAREFULLY: By reading this email you agree, on behalf of your employ=
er, to release me from all obligations and waivers arising from any and a=
ll NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, cli=
ckwrap, browsewrap, confidentiality, non-disclosure, non-compete and acce=
ptable use policies (=E2=80=9DBOGUS AGREEMENTS=E2=80=9D) that I have ente=
red into with your employer, its partners, licensors, agents and assigns,=
 in perpetuity, without prejudice to my ongoing rights and privileges. Yo=
u further represent that you have the authority to release me from any BO=
GUS AGREEMENTS on behalf of your employer.
</pre>
</body>
</html>

--------------020901050701040602030800--

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

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

--===============3689574717515786585==--