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

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.