RE: Malformed header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have solved the problem…

 

The Beltane package has all its php script files with .cgi extentions.  Thus I just added .cgi to the AddHandler for php5…

 

Must say that the error message sent me down the wrong path for a while, but got there in the end.

 

Sorry for wasting anybodies time…

 

Thanks.

Christiaan

 

-----Original Message-----
From: Christiaan Ehlers
Sent:
18 April 2007 11:58
To: 'users@xxxxxxxxxxxxxxxx'
Subject: Malformed header

 

Hi All

 

I have installed Beltane (an web front end to Samhain HIDS).  I am running httpd version 2.2.3 and php 5.1.6 on a fedora 6 box.  I get the following error when I try and load the php page auth.cgi:

 

[Wed Apr 18 10:31:00 2007] [error] [client 10.0.0.1] malformed header from script. Bad header=<!DOCTYPE html PUBLIC "-//W3C/: auth.cgi

[Wed Apr 18 11:49:31 2007] [error] [client 10.0.0.1] malformed header from script. Bad header=<!DOCTYPE html PUBLIC "-//W3C/: auth.cgi

[Wed Apr 18 11:49:44 2007] [error] [client 10.0.0.1] malformed header from script. Bad header=<!DOCTYPE html PUBLIC "-//W3C/: auth.cgi

 

I am not sure if this is a php or apache error or even just a script error.

 

When I run the php I get the following output:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head><title>Login</title>

<link rel="stylesheet" type="text/css" href="" />

<script language="_javascript_" src="" type="text/_javascript_"></script><script language="_javascript_" src="" type="text/_javascript_"></script><script language="_javascript_" src="" type="text/_javascript_"></script><script language="_javascript_" src="" type="text/_javascript_"></script><script language="_javascript_" src="" type="text/_javascript_"></script></head>

<!-- theme: blue -->

<body class="fullscreen" >

<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>

<div id="fullscreen" class="fullscreen">

<div class="enclosure">

<div class="rowcage">

<div class="spacer"></div>

<div class="row"><span class="left">

&nbsp;Login</span>

<span class="right">

&nbsp;</span>

</div>

<div class="spacer"></div>

</div>

     <p style="text-align:center">

     <img border="0" alt="Beltane" height="66" width="220"

        src="" />

     </p>

     <script language="_javascript_" type="text/_javascript_">

     <!--

***TRUNCATED***

 

Any ideas will be much appreciated.  Let me know if you need more information.

 

Kind Regards

Christiaan Ehlers
Systems Administrator

Inclarity plc * 7th Floor * Olympic Office Centre * 8 Fulton Road * Wembley * Middlesex * HA9 0NU
Tel:    +44 (0) 208 634 0445
Mob:   +44 (0) 777 913 7962
Fax:    +44 (0) 208 634 9145 
Email:  christiaan.ehlers@xxxxxxxxxxxxxxx
Web:  
www.inclarity.co.uk

 

Disclaimer
======================================================================

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. Please note that any views or opinions presented
in this email are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient should check
this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus
transmitted by this email.

Inclarity Ltd.
Registered Office: Olympic Office Centre, Fulton Road, Wembley, Middlesex, HA9 0NU
Telephone: + 44 (0)845 698 0800
Fax: + 44 (0)845 698 1000

Registered Company No. 02673204

======================================================================

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux