-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
This is probably the weirdest thing I have ever witnessed.
Try the following "test.pl":
#!/usr/bin/env perl -w
use strict;
# the
my $html = <<"END_OF_HTML";
<html><head><title>title
</title></head>
<body><h1>Hello
</h1>
</body></html>
END_OF_HTML
print "$html\n";
Try that in Netscape, "test.pl" is displayed as plain text. If you
view->page info, you will see "File MIME Type:text/plain". If you remove
the comment line "# the", then "test.pl" is displayed fine as text/html. We
have tried other words in comment lines. "the/The" seems to be the only
word that causes the problem.
2. Used Components and their Configuration:
*** mod_perl version 1.9912
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /home/olivier/apps/apache-2.0.47
MP_COMPAT_1X => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_USE_DSO => 1
MP_USE_STATIC => 1
*** /home/olivier/apps/apache-2.0.47/bin/httpd -V
Server version: Apache/2.0.47
Server built: Jan 21 2004 12:41:13
Server's Module Magic Number: 20020903:4
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/home/olivier/apps/apache-2.0.47"
-D SUEXEC_BIN="/home/olivier/apps/apache-2.0.47/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** /home/olivier/apps/perl-5.8.0/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos etbsun2 5.8 generic_108528-15 sun4u sparc sunw,ultra-80 '
config_args='-Dcc=gcc -Dprefix=/home/olivier/apps/perl-5.8.0 -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-fno-strict-aliasing'
ccversion='', gccversion='3.2', gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at Sep 25 2002 12:10:38
%ENV:
PERL5LIB=".:/home/olivier/PerlOb/LibOb:/home/olivier/PerlOb/CPAN/lib:/home/o
livier/PerlOb/CPAN/lib/site_perl:/home/olivier/PerlOb/CPAN/lib/5.8.0:/home/o
livier/PerlOb/CPAN/lib/site_perl/5.8.0:/home/olivier/PerlOb/modules/go-dev/p
erl-api"
PERL_LWP_USE_HTTP_10="1"
@INC:
.
/home/olivier/PerlOb/LibOb
/home/olivier/PerlOb/CPAN/lib/5.8.0/sun4-solaris
/home/olivier/PerlOb/CPAN/lib/5.8.0
/home/olivier/PerlOb/CPAN/lib
/home/olivier/PerlOb/CPAN/lib/site_perl/5.8.0/sun4-solaris
/home/olivier/PerlOb/CPAN/lib/site_perl/5.8.0
/home/olivier/PerlOb/CPAN/lib/site_perl
/home/olivier/PerlOb/CPAN/lib/5.8.0/sun4-solaris
/home/olivier/PerlOb/CPAN/lib/5.8.0
/home/olivier/PerlOb/CPAN/lib/site_perl/5.8.0/sun4-solaris
/home/olivier/PerlOb/CPAN/lib/site_perl/5.8.0
/home/olivier/PerlOb/modules/go-dev/perl-api
/home/olivier/apps/perl-5.8.0/lib/5.8.0/sun4-solaris
/home/olivier/apps/perl-5.8.0/lib/5.8.0
/home/olivier/apps/perl-5.8.0/lib/site_perl/5.8.0/sun4-solaris
/home/olivier/apps/perl-5.8.0/lib/site_perl/5.8.0
/home/olivier/apps/perl-5.8.0/lib/site_perl
.
*** Packages of interest status:
Apache::Request: -
CGI : 2.56, 2.81
LWP : 5.65
mod_perl : 1.23, 1.9912
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Tue Jan 27 18:40:32 2004 GMT.
-------------8<---------- End Bug Report --------------8<----------
Thanx.
:)Kelly
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]