You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Gert Jan Schipper <gs...@cordys.com> on 2005/04/22 10:35:35 UTC

Apache mod_perl

Hi All,

 

After install mod_perl I've changed my httpd.conf file to:

 

Alias /cordys "/opt/Cordys/Web"

<Directory "/opt/Cordys/Web">

        PerlAuthenHandler Apache::AuthenNTLM

        AuthName "NTLM Test"

        AuthType ntlm

        PerlAddVar ntdomain "NTDOM"

        PerlSetVar defaultdomain NTDOM

        PerlSetVar ntlmdebug 2

        PerlSetVar splidomainprefix 1

        PerlSetVar ntlmsemtimeout 2

        require valid-user

# Standard

#       AllowOverride All

#       AuthType Basic

#       AuthName "Cordys"

#       AuthUserFile "/etc/shadow"

#       require valid-user

</Directory>

 

But I got following error in de the error_log file from Apache:

 

[Fri Apr 22 10:28:51 2005] [error] [client 10.1.50.79] failed to resolve
handler `Apache::AuthenNTLM': Can't locate Apache/AuthenNTLM.pm in @INC
(@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
/usr/local/apache2) at (eval 3) line 3.\n

 

Who knows this problem???

 

CORDYS just collaborate


Gert Jan Schipper

Center of Excellence

 

T +31 (0)341 37 5699

F +31 (0)341 37 5500

M +31 (0)653 45 7734

E gschipper@cordys.com

 

Subscribe to Engage
<http://www.cordys.com/en/newsletter/newsletter.html> , our free
e-newsletter, to keep

up to date on Cordys and developments in Application

Integration and Business Process Management.

 


**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.
**********************************************************************



Re: Apache mod_perl

Posted by Shannon Eric Peevey <sp...@erikin.com>.
> 
> But I got following error in de the error_log file from Apache:
> 
>  
> 
> [Fri Apr 22 10:28:51 2005] [error] [client 10.1.50.79] failed to resolve 
> handler `Apache::AuthenNTLM': Can't locate Apache/AuthenNTLM.pm in @INC 
> (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/5.8.0 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . 
> /usr/local/apache2) at (eval 3) line 3.\n
> 
>  
> 
> Who knows this problem???
> 
Hi, Gert,

It looks like Apache-AuthenNTLM is either not installed, or not 
installed in a location that is found in @INC.  Can you verify the 
installation, and reply with your version(s) of mod_perl?

thanks,

-- 
Shannon Eric Peevey
President - EriKin Corporation
speeves@erikin.com
(940) 391-6777
http://www.erikin.com

Re: Apache mod_perl

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Gert Jan Schipper wrote:
> Hi All,
> 
>  
> 
> After install mod_perl I’ve changed my httpd.conf file to:
First of all specify the mod perl version and httpd version.
And what did you change it from to this ?

 >Fri Apr 22 10:28:51 2005] [error] [client 10.1.50.79] failed to 
resolve >handler `Apache::AuthenNTLM': Can't locate Apache/AuthenNTLM.pm 
in @INC >(@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
 >/usr/lib/perl5/5.8.0 
 >/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
 >/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
 >/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
 >/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
 >./usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 . 
 >/usr/local/apache2) at (eval 3) line 3.\n

At first glance, did you install Apache::AuthenNTLM ?
perl -MCPAN -e install 'Apache::AuthenNTLM'

-- 
END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
	http://www.liquidityservicesinc.com