[rt-users] Premature end of script headers

Richard West Richard.West at divatv.com
Tue Sep 12 15:19:08 EDT 2000

/var/log/httpd/error_log for some info.

"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..


> 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] 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?

Richard West                            mailto:richard.west at divatv.com
Sr. Systems Administrator
DivaTV Systems - Princeton, NJ          http://www.divatv.com

More information about the rt-users mailing list