[rt-users] Premature end of script headers

Steve Thomas sthomas at apexvoice.com
Tue Sep 12 15:45:26 EDT 2000


> Check:
> /var/log/httpd/error_log for some info.

That's where I found this msg:
 [Tue Sep 12 03:24:24 2000] [error] [client 20.11.25.8] Premature end of
 script headers: /usr/local/rt/bin/cgi/webrt.cgi


> Then:
> "cd" to your rt installation directory, then "cd bin/cgi" and run
> "./webrt.cgi" to see what happens.  It should give you a more detailed
> error there.  Be sure to become the same user that your web server runs
> under (usually the user "nobody") when you run the cgi by hand..
>

Runs (apparently) ok - it asks for name/value pairs:
(offline mode: enter name=value pairs on standard input)

I think it's just a cgi problem with apache, but I've tried everything I
know how to (which isn't much)...

Thanks,
St-

> > -Rich
> >
> > > I'm a *nix newbie, so if it's my lack of knowledge that's hosing me,
> > > please be nice and don't flame :)
> > >
> > > Ok - RH Linux (2.2.12), Apache, MySQL 3.22.32.
> > >
> > > Installed all necessary modules and rt, which works from CLI. When
> > > loading webrt.cgi or admin-webrt.cgi from a browser, I get a 500 server
> > > error. This is what shows up in the logs:
> > >
> > > [Tue Sep 12 03:24:24 2000] [error] [client 20.11.25.8] Premature end of
> > > scri
> > > pt headers: /usr/local/rt/bin/cgi/webrt.cgi
> > >
> > > Here's what I added to httpd.conf:
> > >
> > > Alias /webrt/ /usr/local/rt/lib/images/
> > > ScriptAlias /rt/ /usr/local/rt/bin/cgi/
> > >
> > > <Directory /usr/local/rt/bin/cgi/>
> > > AllowOverride All
> > > Options All ExecCGI FollowSymLinks
> > > order allow,deny
> > > allow from all
> > > </Directory>
> > >
> > > I also went through the past several months of the mailing list archives
> > > and didn't find anything. Anyone have any ideas?
> >





More information about the rt-users mailing list