in reply to HTML::Template / Apache problem.

DigitalKitty,

CGI::Carp might be useful for getting error messages to a place where you can see them. See the section on MAKING PERL ERRORS APPEAR IN THE BROWSER WINDOW. Something like: use CGI::Carp qw(fatalsToBrowser);.

Without log info I am just guessing, but you might check permissions, ownership, and correct path to perl.

bassplayer

Replies are listed 'Best First'.
Re: Re: HTML::Template / Apache problem.
by DigitalKitty (Parson) on Dec 28, 2003 at 07:28 UTC
    Hi.

    dws++ and bassplayer++

    To my surprise, I was able to read the httpd error log. It said 'Premature end of script headers' so I simply changed the 'test.cgi' permissions with the following command:

    chmod 755 test.cgi

    then re-executed the program. It worked perfectly.

    Thanks for the help,
    -Katie.