To the Jonathan Stowe reply:
=3D The error log of the web server should provide you with a more detailed
=3D error message which should help pinpoint the actual problem. Some of
=3D the more common problems are described in the FAQ on our web site.
=3D /J\
I have looked at the FAQ, and find nothing that seems to address my problem=
, other
than to gather detailed information and pass it into nms.
I repeat here, from my original problem report, what I thought was the rele=
vent
information:
=3D From daily error log reports, I had the same error with each browser:
=3D Premature end of script headers:=20
=3D /www/htdocs/domains/s3/00486/www.milhist.net/webdocs/cgi/betfor/wwwbo=
ard.pl
I omitted above only what seemed to be extraneous or redundant. I transmit=
now for
your benefit the original unedited report lines for my problem. They are, =
in order,
for the browsers Safari 1.2.4, Internet Explorer 5.2.3, and Netscape 7.1.
=3D [Mon Nov 22 19:59:58 2004] [error] [client 151.203.105.78] Premature en=
d of script
headers: /www/htdocs/domains/s3/00486/www.milhist.net/webdocs/cgi/betfor/ww=
wboard.pl
=3D [Mon Nov 22 20:02:18 2004] [error] [client 151.203.105.78] Premature en=
d of script
headers: /www/htdocs/domains/s3/00486/www.milhist.net/webdocs/cgi/betfor/ww=
wboard.pl
=3D [Mon Nov 22 20:03:36 2004] [error] [client 151.203.105.78] Premature en=
d of script
headers: /www/htdocs/domains/s3/00486/www.milhist.net/webdocs/cgi/betfor/ww=
wboard.pl
Given my limited technical competence, I was able to locate only the error =
reports for
my own domain at http://www.milhist.net/logs/error.[various_dates]. Perhaps you c=
an guide me
in the ways and means of extracting a sufficient level of detail from the E=
arthlink
web server.
I had very painstakingly gathered all information seemingly available at my=
end and
passed it to you. My full original report appears again at the conclusion =
of this
message.
The only additional information I can think to add is that the problem occu=
rs with two
different Earthlink-installed PERL compilers:
#!/usr/local/bin/perl (still used with the Matt Wright compiler)
#!/usr/local/bin/perl5 (their 'current' compiler)
I hope to use the nms wwwboard package because I am being overloaded with
inappropriate bulk spam on the Matt Wright package, and understand that the=
IP address
captures in the nms wwwboard may assist me toward blocking that nuisance.
But I suspect that you don't, and can't, know what is going wrong from the =
limited
amount of information I might be able to give you.
- Patrick Skelly
patskelly@...
=3D=3D=3D=3D=3D=3D=3D=3D
ORIGINAL REPORT:
I am having persistent problems, inability to post a message, following ins=
tallation
of the nms wwwboard 1.58 package on an Earthlink-hosted domain. This invol=
ves
"Premature end of script headers" in wwwboard.pl. (I am trying to upgrade =
from the
"Matt Wright" package.)
Please advise what I need to do to have a successful installation. Thank y=
ou.
- Patrick Skelly, patskelly@...
=3D=3D=3D=3D
The initial installation loaded only the customized wwwboard.html and wwwbo=
ard.pl
files.
=46urther tests - none of which seemed to have any effect on the original =
problem - were
conducted after adding the following supporting files:
data.txt [ set to 0 ]
faq.html [ even though not linked to wwwboard.html ]
nms.css [ I do not use stylesheets or scripting in my normal work ]
and an empty /messages directory.
See "Current Files Structure" detail below.
Tests were conducted using three browsers under Mac OS 10.3.6
principally Safari 1.2.4, but also
Internet Explorer 5.2.3
Netscape 7.1
=46rom execution-time error reports, I had the same error with each browse=
r:
500 Internal Server Error
The server encountered an internal error or misconfiguration=20
and was unable to complete your request.
=46rom daily error log reports, I had the same error with each browser:
Premature end of script headers:=20
/www/htdocs/domains/s3/00486/www.milhist.net/webdocs/cgi/betfor/wwwboard=
=2Epl
=3D=3D=3D=3D
Current Files Structure
http://www.milhist.net [ domain owned by me, hosted by Earthlink ]
.../betfor/board
....../wwwboard.html chmod 777 [ see Note (1) below for customization =
]
....../messages/ chmod 755 [ empty directory ]
....../data.txt chmod 644 [ content numeric zero, no return or line fe=
ed ]
......faq.html chmod 644 [ taken, 'as is', from nms download version 1=
=2E58 ]
....../nms.css chmod 644 [ copied, 'as is', from nms-cgi.sourceforge.n=
et file]
.../cgi/betfor
....../wwwboard.pl chmod 755 [ see Note (2) below for customization ]
Note (1) The 'link' and 'form' statements of wwwboard.html are now:
<link rel=3D"stylesheet" type=3D"text/css" href=3D"nms.css" /> ...
<form method=3D"post" action=3D"/cgi/betfor/wwwboard.pl"> ...
Note (2) The 'USER CONFIGURATION' variables block of wwwboard.pl is now:
$DEBUGGING =3D 1;
$emulate_matts_code =3D 0;
$max_followups =3D 1;
$basedir =3D '/webdocs/betfor/board';
$baseurl =3D 'http://www.milhist.net/betfor/board';
$cgi_url =3D 'http://www.milhist.net/cgi/betfor/wwwboard.pl'=
;
$mesgdir =3D 'messages';
$datafile =3D 'data.txt';
$mesgfile =3D 'wwwboard.html';
$faqfile =3D 'faq.html';
$ext =3D 'html';
$title =3D "NMS WWWBoard Version $VERSION";
$style =3D 'nms.css';
$show_faq =3D 0;
$allow_html =3D 1;
$quote_text =3D 0;
$quote_char =3D '';
$quote_html =3D 0;
$subject_line =3D 0;
$use_time =3D 1;
$date_fmt =3D '%d/%m/%y';
$time_fmt =3D '%T';
$show_poster_ip =3D 1;
$enable_preview =3D 0;
$enforce_max_len =3D 1;
$strict_image =3D 1;
@image_suffixes =3D qw(png jpe?g gif);
$locale =3D '';
$charset =3D 'iso-8859-1';
$bannedwords =3D '';
$bannednets =3D '';
@use_rbls =3D qw();
%max_len =3D (
'name' =3D> 50,
'email' =3D> 70,
'subject' =3D> 80,
'url' =3D> 150,
'url_title' =3D> 80,
'img' =3D> 150,
'body' =3D> 3000,
'origsubject' =3D> 80,
'origname' =3D> 50,
'origemail' =3D> 70,
'origdate' =3D> 50
);
and the Earthlink PERL compiler is found at
#!/usr/local/bin/perl5
|