On Tue, 12 Feb 2002 12:58:23 +0000, Stephen.Hurley <[EMAIL PROTECTED]> wrote: > Hi, > Not sure if this is entirely a perl problem, but it is certainly > related. I made some minor changes to one of my CGI scripts (to get > the page to include the current date), and Apache started to give me a > 500 error on it. The syntax of the script is perfect, and I'm using > CGI.pm to generate the header. I've shown the various error messages > below. I have a meeting in 18 minutes where I have to show this > working. I suppose if I get desperate I'll just dike out the CGI.pm > stuff and generate the header by hand, but I'd like to know why this > doesn't work. Any ideas ?
The header Apache is expecting is not the same as the beginning of the HTML document. try with: print header(), start_html(-title=>"Events"); You can see what is being sent as header: perl -M'CGI qw(:standard)' -e'print header()' -- briac << dynamic .sig on strike, we apologize for the inconvenience >> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]