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
[Fri Dec 30 19:52:16 2005] [notice] Server built: Oct 9 2005
19:16:56
[Fri Dec 30 19:52:16 2005] [notice] Parent: Created child process
5284
[Fri Dec 30 19:52:17 2005] [notice] Child 5284: Child process is
running
[Fri Dec 30 19:52:17 2005] [notice] Child 2968: Released the start
mutex
[Fri Dec 30 19:52:17 2005] [notice] Child 5284: Acquired the start
mutex.
[Fri Dec 30 19:52:17 2005] [notice] Child 5284: Starting 250 worker
threads.
[Fri Dec 30 19:52:18 2005] [notice] Child 2968: Waiting for 250
worker threads to exit.
[Fri Dec 30 19:52:18 2005] [notice] Child 2968: All worker threads
have exited.
[Fri Dec 30 19:52:18 2005] [notice] Child 2968: Child process is
exiting
But, I can't seem to configure Apache to actually *run* my script.
I've tried all these directives:
<Files *.pm>
SetHandler modperl
</Files>
That should be
<Files *.pm>
SetHandler modperl
PerlResponseHandler ModPerl::Registry
</Files>
or similiar
--
------------------------------------------------------------------------
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com