Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 09:18:33 +0200
From:      Florian Prester <Florian.Prester@rrze.uni-erlangen.de>
To:        Daniel Gerzo <danger@rulez.sk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: port-problem: apache2.0.54 mod_perl2 no Modules!!
Message-ID:  <429C0FC9.3070000@rrze.uni-erlangen.de>
In-Reply-To: <183487822.20050530190251@rulez.sk>
References:  <429B1BB9.8030603@rrze.uni-erlangen.de>	<1306267184.20050530164944@rulez.sk>	<429B2A24.90305@rrze.uni-erlangen.de> <183487822.20050530190251@rulez.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, my mistake we misunderstood:


installed the mod_perl2 port.

And I added to the httpd.conf:

LoadModule perl_module libexec/apache2/mod_perl.so

PerlModule Apache2


Alias /perl/ /data/chroot/www/perl/
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>

But nothing happens, the server cannot find the modules:

Fri May 27 12:04:56 2005] [error] Can't locate Apache2.pm in @INC (@INC 
contains: /usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 . /usr/local) at (eval 4) line 3.\n
[Fri May 27 12:04:56 2005] [error] Can't load Perl module Apache2 for 
server ...


Any Ideas??
If I search for the Perl modules, I cannot find them anywhere!?!
Or are all the modules within the mod_perl.so??
Or do I have to install the CPAN modules??

I have no clue, sorry!
thanks

Florian

Daniel Gerzo wrote:

>Hello Florian,
>
>Monday, May 30, 2005, 4:58:44 PM, you typed:
>
>  
>
>>Hello Gerzo,
>>    
>>
>
>  
>
>>Thanks for your reply.
>>    
>>
>
>  
>
>>>>Hi,
>>>>
>>>>I installed the mod_perl2 port.
>>>>I added to the httpd.conf:
>>>>        
>>>>
>>>>PerlModule Apache2
>>>>        
>>>>
>>>this is wrong, you should add:
>>>
>>>LoadModule perl_module libexec/apache2/mod_perl.so
>>>
>>>      
>>>
>>Sorry, of course I added this line as well, forgot to mention.
>>    
>>
>
>As well? Wrong. Remove the old line and add only that one I have
>mentioned before.
>
>  
>
>>I do not have any scripts, so I am jist at the beginning :-(
>>    
>>
>
>  
>


-- 
--------------------------------------------------------------
Dipl. Inf. Florian Prester
Network Administration
Regionales RechenZentrum Erlangen
Universitaet Erlangen-Nuernberg
Germany

Tel.: +499131 8527813




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?429C0FC9.3070000>