Ray Licon wrote:
Hello -
I can't get the simple ModPerl::Registry test page
to
run.
I complied everything from scratch using gcc3.4.2
on
Solaris 2.8. The server starts and the error_log is
clean before and after I attempt to run my test
page.
From apache error_log:
[Wed Jul 06 11:26:52 2005] [notice] Apache/2.0.54
(Unix) DAV/2 mod_perl/2.0.1 Perl/v5.8.6 configured
-- resuming normal operations
[Wed Jul 06 11:26:52 2005] [info] Server built: Jun
28
2005 18:24:19
in the httpd.conf:
PerlModule ModPerl::Registry
Alias /perl/ "/www/apache2.54/perl/"
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
[...]
LoadModule perl_module modules/mod_perl.so
Are you sure this is your config file? You can't use mod_perl directives
before loading mod_perl. Have you compiled it statically?
and my test page is in
"/www/apache2.0.54/perl/rock.pl"
----
#!/usr/local/bin/perl
print "Content-type: text/plain\n\n";
print "mod_perl 2.0 rocks!\n";
----
When I ask for the page from the server, it merely
attempts to download the text of the page.
It smells like your config file has more in it and it resets /perl/ to
something else. Besides, how did you issue the request? (what's the url?)
Also please submit a complete bug report as explained here:
http://perl.apache.org/bugs/
Thank you.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com