On Fri, 30 Dec 2005, Pete Alvin wrote:

I'm trying to set up modperl on Windows XP.  Instead of executing the
file, I get this returned to my browser:

#!/usr/bin/perl5.8.0

print "Content-type: text/html\n\n";

print "Hello World!\n";

1;

Here is how I load perl:

LoadFile "C:/Program Files/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so

PerlModule Apache2::compat

I know that Apache is finding modperl because in error.log I get
this:

[Fri Dec 30 19:52:16 2005] [notice] Apache/2.0.55 (Win32)
mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
[ ... ]
But, I can't seem to configure Apache to actually *run* my script.

You may want to try either a ModPerl::Registry script or
a simple Hello_World handler, as described at
   http://perl.apache.org/docs/2.0/os/win32/config.html

--
best regards,
Randy Kobes

Reply via email to