Problem using Apache

Hi,

I have a simple application that works fine with Webrick but not with
Apache.

I get a 500 error, here you are the log in error_log:

[Sun Nov 12 21:24:34 2006] [error] [client my.ip] Premature end of
script headers: /home/user/public_html/cuentas/dispatch.cgi

Dispatch.cgi is executable and perms are set to 755.

Any help would be appreciated

Thanks

On Nov 12, 2006, at 1:27 PM, Klian wrote:

I have a simple application that works fine with Webrick but not with
Apache.

I get a 500 error, here you are the log in error_log:

[Sun Nov 12 21:24:34 2006] [error] [client my.ip] Premature end of
script headers: /home/user/public_html/cuentas/dispatch.cgi

You might want to run dispatch.cgi from the command line and see what
you get.

BUT, in any case, you should not be using CGI.

Take a look at mongrel instead.


– Tom M., CTO
– Engine Y., Ruby on Rails Hosting
– Reliability, Ease of Use, Scalability
– (866) 518-YARD (9273)