More updates. Seems like turning off keep-alive in the browser gets rid of the problems. .. question is why it affects midgard sites
/Johan
On Tue, 2005-03-08 at 20:29 +0100, Johan Bernhardsson wrote:
> Nothing shows in midcom or apache log.
>
> But in midgard logfiles i get references to the css file that is loaded
> before the header.
>
> midgard-lib:14548:debug:query=SELECT
> id,style,root,lang,info&1,Length(prefix),sitegroup FROM host WHERE
> name='www.gladasvansen.nu' AND port in (0,80) AND ( (0 <> 0 AND prefix =
> '') OR (0 = 0 AND
> prefix=Left('/midcom-static/midcom.helper.datamanager/jscript-calendar/jscalendar.css',Length(prefix))
> AND
> IF(72>=Length(prefix),MID('/midcom-static/midcom.helper.datamanager/jscript-calendar/jscalendar.css',1+Length(prefix),1)
> IN ('','/'),0)=1 ) ) AND online <> 0 ORDER BY prefix DESC, port DESC
>
>
> Seems like midgard loads this file when the jscalendar.css should not be
> used.
>
> /Johan Bernhardsson
>
> On Tue, 2005-03-08 at 19:59 +0100, Johan Bernhardsson wrote:
> > After upgrading one of my servers i have strange errors .. when loading
> > pages i sometimes get stuff before the headers.
> >
> > This is what im running:
> > Server: Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6.12.92mdk)
> > mod_perl/1.99_09 Perl/v5.8.1 Midgard/1.6.2/Repository/MultiLang
> > PHP/4.3.2
> >
> >
> > And parts of the output i get:
> >
> > lite {
> > border-color: #000;
> > background-color: #766;
> > color: #fff;
> > }
> >
> > .calendar td.time span.active {
> > border-color: #f00;
> > background-color: #000;
> > color: #0f0;
> > }
> > HTTP/1.1 200 OK
> > Date: Tue, 08 Mar 2005 18:46:11 GMT
> > Server: Apache-AdvancedExtranetServer/2.0.47 (Mandrake Linux/6.12.92mdk)
> > mod_perl/1.99_09 Perl/v5.8.1
> >
> >
> > and
> >
> >
> > <s
> >
> > 25
> > tyle type="text/css">
> > <!--
> >
> > 190
> > #dagbok {
> > float: left;
> > font-size: 9pt;
> > padding-top: 2px;
> >
> >
> > and the first part the css part is from the same file every time.
> >
> > /Johan Bernhardsson
> >
> >
--
Johan Bernhardsson
Linux/CMS/Security Consultant at anykey solutions
Phone: +46-(0)13-73244
Mobile: +46-(0)707-322261
Fax: +46-(0)13-73190
Email: [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part
