Index: [Article Count Order] [Thread]

Date:  Mon, 18 Jun 2007 14:11:19 -0700
From:  "Diana Saunders" <toodi4 (at mark) hotmail.com>
Subject:  [coba-e:10148] Re: cgi script problem when going from Cobalt to BQ
To:  coba-e (at mark) bluequartz.org
Message-Id:  <BAY135-F24BF3849BD747603EF4ADC82130 (at mark) phx.gbl>
In-Reply-To:  <000601c7b1e9$7a01c0a0$010210ac@DELLBOY>
X-Mail-Count: 10148

> > I switched a customer's account from a RAQ 550 server to a server with 
>the
> > Nuonce BQ/Centos package.  There is a very simple CGI perl script that 
>is
> > getting an internal server error.  (and yes, permissions and ownership 
>are
> > all correct and the cgi environment script I use runs just fine)
> >
> > In the apache error log, the error message is:
> >
> > malformed header from script.  Bad 
>header=/home/.sites/148/site16/.users:
> > cgiwrap,
> >
> > The  users directory is the users directory for the site, though it 
>isn't
> > referenced in the script itself.
> >
> > Can anyone help?
>
>The "bad header" could be an error message being printed before the
>Content-type line.  After a move that changes their siteXXX number, most
>likely candidate is a hard wired $foo_dir in the config section for a CGI
>script, which has been hard wired to a numbered site path from the old
>server.
>
>So go searching in the CGI dir for "home/.sites", and anything you find,
>change to the slightly more migration tolerant /home/sites/www.foo.com/
>path.
>
>
Hugh,

Thanks, I did check this.  But the script has no reference to paths at all, 
other than the path to perl and sendmail, both of which are correct.

_________________________________________________________________
Who's that on the Red Carpet? Play & win glamorous prizes. 
http://club.live.com/red_carpet_reveal.aspx?icid=REDCARPET_hotmailtextlink3