perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Simon <wreckmyb...@yahoo.com>
Subject install/config mod_perl-2(1.99_08)
Date Thu, 03 Oct 2002 12:14:48 GMT

Is there something in the configuration not jiving?

Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm)

In http.conf I have:
Include conf/test.conf
AddHandler cgi-script .cgi

In test.conf I have:
PerlRequire "C:/Apache2/conf/startup.pl"
<Location /test/>
     Options +ExecCGI
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     PerlOptions +ParseHeaders
</Location>
#ScriptAlias /test/ "C:/Apache2/htdocs/test/"

startup.pl looks like:
#!C:/Perl/bin/Perl.exe
use Apache2();
use ModPerl::Registry ();
1;

Apache starts up. I can see mod_perl loaded in via server-status.  And when I call just the
directory /test/, this what I get in the error log:

[error] 1932: ModPerl::Registry: C:/Apache2/htdocs/test/ not found or unable to stat

If I try to call index.cgi under /test/index.cgi, the page just hangs. index.cgi works as
a straight CGI page. Here it is:
#!C:/Perl/bin/Perl.exe

  print "Content-type: text/plain\n\n";
  print "mod_perl 2.0 rocks!\n";

------- I'll keep trying.  Hopefully, there's an easy solution to this. Thanks.



---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
Mime
View raw message