*****SPAM***** [cgiapp] headers problem

Ron Savage ron at savage.net.au
Sun Jan 6 01:26:48 EST 2008


On Sat, 2008-01-05 at 21:19 +0200, Stefan Petrea wrote:

Hi Stefan

> I'm very new to CGI::Application

Welcome to the club!

> I'm using this example here http://www.redantigua.com/cgi-application1.html for
> learning how to use CGI::Application.
> I get 500 every time I run helloworld.cgi-app.pl 
> What can I do about this ?
> It just seems that the pl is not sending any headers.
> How can I solve this problem ?

Things to check:

1) Is the template in the same directory as the CGI script? It should
be, because of this line (IMHO):
   $self->tmpl_path('./');
in the *.pm file

2) Are the permissions correct on /all/ 3 files?
 - CGI script
 - Template
 - *.pm
-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the cgiapp mailing list