[mp2] Apache::AuthCookie

[prev] [thread] [next] [Date index for 2005/03/18]

From: Mike Whitaker
Subject: [mp2] Apache::AuthCookie
Date: 14:02 on 18 Mar 2005
Getting an error from mod_per/Apache2 as soon as I try and access an 
protected page:

'failed to resolve handler Foo::Auth'

I'm assuming this means something more than 'can't find Foo::Auth in 
@INC', since another Foo:: module (in use as an OutputFilter) gets 
picked up fine.

WHat'm I missing?

config snippet

	PerlModule Foo::Auth
	
	PerlSetVar FooPath /
	PerlSetVar FooExpires +5d
	PerlSetVar FooLoginScript /login.pl
	PerlSetVar AuthCookieDebug 1
	
	<Location />
	AuthName Foo
	AuthType Foo::Auth
	PerlAuthenHandler Foo::Auth->authenticate
	PerlAuthzHandler Foo::Auth->authorize
	
	require valid-user	
	</Location>
	
	<Location /LOGIN>
	AuthName Foo
	AuthType Foo::Auth
	SetHandler perl-script
	PerlHandler Foo::Auth->login
	</Location>

[mp2] Apache::AuthCookie
Mike Whitaker 14:02 on 18 Mar 2005

Re: [mp2] Apache::AuthCookie
Barry Hoggard 18:29 on 18 Mar 2005

Generated at 11:30 on 21 Mar 2005 by mariachi v0.52