Re: [mp2] Solaris: modperl/request_rec_tie_api.t failure

[prev] [thread] [next] [Date index for 2004/11/04]

From: Stas Bekman
Subject: Re: [mp2] Solaris: modperl/request_rec_tie_api.t failure
Date: 22:34 on 04 Nov 2004
[Jeremy, in the future please try to reply to the email in the thread, to 
keep the messages together, to benefit other users who may have the same 
problem. thank you]

Mr jeremy pennington wrote:
> So either upgrade your perl and try again, or send us
> the backtrace of the  core file:
> 
> I choose to upgrade perl to 5.8.5, which took care of
> both of my make test failures. Therefore, make test
> and install completed without errors.

Cool. I assume that your perl wasn't real 5.6.1 when you had the original 
problem.

> However, I am
> trying to test the installion with the rock.pl
> (http://perl.apache.org/docs/2.0/user/intro/start_fast.html
> under Registry Scripts), but all I can get to show up
> in a web browser is the code of this file. However, if
> I run ./rock.pl for the command line, I do get the
> correct output of "mod_perl 2.0 rocks!" 
> 
> Where the rock.pl file is located.
> /usr/local/apache2/htdocs/users/metadot/metadot
> 
> What I added to httpd.conf
> LoadModule perl_module modules/mod_perl.so
> PerlModule Apache2
> Alias /perl/
> /usr/local/apache2/htdocs/users/metadot/metadot/
> <Location /perl/>
> SetHandler perl-script
> PerlHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
> </Location>

1) Make sure that the file is executable (but ExecCGI and 
ModPerl::Registry should have taken care of it)

2) most likely you redefine either / or /perl/ namespace further following 
this config section in httpd.conf, which overrides the previous 
configuration. Try moving that section to the very end of the httpd.conf 
file and try again.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: [mp2] Solaris: modperl/request_rec_tie_api.t failure
Mr jeremy pennington 21:50 on 04 Nov 2004

Re: [mp2] Solaris: modperl/request_rec_tie_api.t failure
Stas Bekman 22:34 on 04 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52