[Webcalendar] Premature end of script headers:

Johnny Strom jonny.strom a t netikka.fi
Tue, 25 May 2004 10:57:37 +0300


Hello

I am trying to get webCal2.8.8 working on fedora 1 and 2 but no luck 
yet, it did work fine on Redhat 7.3.


I run the install.pl_redhat-7.2 installation script.


And I have the followoing apended in the apache configuration file:

#=====Apache configuration============
#
# excerpt from my httpd.conf, you need to change
# the pathnames to fit your system.
#
<IfModule mod_perl.c>
   PerlRequire "/var/www/webcal/bin/startup.pl"
   Alias /y /var/www/webcal/bin/
   <Directory /var/www/webcal/bin>
     AllowOverride All
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     PerlOptions +ParseHeaders
     Options +ExecCGI +FollowSymLinks
   </Directory>
</IfModule>

Alias /i "/var/www/webcal/webcal_icons/"

<Directory "/var/www/webcal/webcal_icons">
     Options Indexes MultiViews FollowSymLinks
     AllowOverride All
     Order allow,deny
     Allow from all
</Directory>

#================================================


I can create and calender but when I try to login then I get the
login page showed like text in the browser and in the buttom of the
page so is this printed:

#</body></html>
#<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
#<html><head>
#<title>500 Internal Server Error</title>
#</head><body>
#<h1>Internal Server Error</h1>
#<p>The server encountered an internal error or
#misconfiguration and was unable to complete
#your request.</p>
#<p>Please contact the server administrator,
# root a t localhost and inform them of the time the error occurred,
#and anything you might have done that may have
#caused the error.</p>
#<p>More information about this error may be available
#in the server error log.</p>
#<hr />
#<address>Apache/2.0.48 (Fedora) Server at localhost Port 80</address>
#</body></html>



And then in the log file so it this printed:

[Tue May 25 10:37:15 2004] [error] [client 127.0.0.1] Premature end of 
script headers: x, referer: http://localhost/y/x
[Tue May 25 10:37:15 2004] [warn] /y/x did not send an HTTP header


Since I am not good at perl what could be wrong?


I have these versions installed, and mod_perl and CGI is enbaled in
running apache:

apache 2.0.49:

perl: 5.8.3

CGI.pm 3.01

mod_perl 1.99_12



Thanks Johnny