You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stephen Clarke <an...@longusername.worldonline.co.uk> on 2002/08/22 06:24:43 UTC
Help --Installing mod_perl for Apache 2 ?
Hi all,
Can anyone help me to install mod_perl for Apache2.0.40 on win32?
My perl script, a simple hello world, just hangs in the browser waiting for
a response.
Here's what I've done. BTW mod_perl was working fine with Apache 1.3.14.
PPM> set repository uwinnipeg
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
PPM> install mod_perl-2
...in the Apache config,
LoadModule perl_module modules/mod_perl.so
<IfModule mod_perl.c>
Alias /cgi-perl z:/cgi-perl
# PerlRequire z:/cgi-perl/start2.pl
<Location /cgi-perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
</Location>
</IfModule>
the script looks like this
print "Content-type: text/plain\n\n";
print "hello world";
and is invoked with
http://localhost/cgi-perl/hello.cgi
The server starts and works, but the script just hangs. Any ideas ?
I would be grateful for any help.
TIA.
Steve
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org