Apache2::AuthCookie

2006-08-06 Thread Vladimir S. Tikhonjuk
Hi all

I get the next error, when I'm trying to use AuthCookie:

failed to resolve handler Promtelecom::Authentication

I put Promtelecom/Authentication.pm into /usr/local/lib/site_perl, which
is in my @INC path list.

Here is my httpd.conf:

PerlModule Promtelecom::Authentication
PerlSetVar WhatEverLoginScript /promtelecomindex.html
PerlSetVar WhatEverSatisfy Any
PerlSetVar WhatEverCache 1
PerlSetVar WhatEverExpires +2h

  AuthType Promtelecom::Authentication
  AuthName "Promtelecom Database"
  PerlAuthenHandler Promtelecom::Authentication->authenticate
  PerlAuthzHandler Promtelecom::Authentication->authorize
  require valid-user



  AuthType Promtelecom::Authentication
  AuthName WhatEver
  SetHandler perl-script
  PerlResponseHandler Promtelecom::Authentication->login




Re: Apache2::AuthCookie

2006-08-06 Thread Philip M. Gollucci
Vladimir S. Tikhonjuk wrote:
> Hi all
> 
> I get the next error, when I'm trying to use AuthCookie:
> 
> failed to resolve handler Promtelecom::Authentication
You're going to have to give more context to that for us to help.

> 
> I put Promtelecom/Authentication.pm into /usr/local/lib/site_perl, which
> is in my @INC path list.
You shouldn't put stuff in the "system perl" @INC. make your own directory and 
it to
the @INC path.

> 
> Here is my httpd.conf:
> 
> PerlModule Promtelecom::Authentication
> PerlSetVar WhatEverLoginScript /promtelecomindex.html
> PerlSetVar WhatEverSatisfy Any
> PerlSetVar WhatEverCache 1
> PerlSetVar WhatEverExpires +2h
> 
>   AuthType Promtelecom::Authentication
>   AuthName "Promtelecom Database"
>   PerlAuthenHandler Promtelecom::Authentication->authenticate
>   PerlAuthzHandler Promtelecom::Authentication->authorize
>   require valid-user
> 
> 
> 
>   AuthType Promtelecom::Authentication
>   AuthName WhatEver
>   SetHandler perl-script
>   PerlResponseHandler Promtelecom::Authentication->login
> 
Nothing jumped out at me.
Do you have another spot where you inadvertantely have just
 Perl*Handler Promtelecom::Authentication




-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


[RELEASE CANDIDATE] libapreq2 2.08-RC5

2006-08-06 Thread Philip M. Gollucci
Please download, test, and VOTE  on the following
candidate tarball:

http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC5.tar.gz

Changes from RC4:
http://svn.apache.org/viewvc?rev=428216&view=rev (Win32)

http://svn.apache.org/viewvc?rev=428286&view=rev
http://svn.apache.org/viewvc?rev=428842&view=rev

http://svn.apache.org/viewvc?rev=428299&view=rev

Style only:
http://svn.apache.org/viewvc?rev=424256&view=rev

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Re: [RELEASE CANDIDATE] libapreq2 2.08-RC5

2006-08-06 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
> Please download, test, and VOTE  on the following
> candidate tarball:
> 
> http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC5.tar.gz
> 
> Changes from RC4:
>   http://svn.apache.org/viewvc?rev=428216&view=rev (Win32)
> 
>   http://svn.apache.org/viewvc?rev=428286&view=rev
>   http://svn.apache.org/viewvc?rev=428842&view=rev
> 
>   http://svn.apache.org/viewvc?rev=428299&view=rev
> 
> Style only:
>   http://svn.apache.org/viewvc?rev=424256&view=rev
+1
FreeBSD 6.1-stable i386
perl 5.8.8 with and without threads
httpd 2.2.3 (prefork, work, event)
mod_perl svn trunk


-- 

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Re: Apache2::AuthCookie

2006-08-06 Thread Jonathan
based on everything that philip mentioned, my guess is that the  
modules are not being imported correctly


personally, i solve lib issues in mod_perl as such: i have a 'use  
lib' line in startup.pl that calls in my handler lib, and various  
external libs



use lib qw(
/webserver/sites/FindMeOn.com/web-modperl/lib
		/webserver/sites/FindMeOn.com/web-modperl/lib-externals/Authen- 
PluggableCaptcha/lib/
		/webserver/sites/FindMeOn.com/web-modperl/lib-externals/Apache2- 
xForwardedFor/lib/

/webserver/sites/FindMeOn.com/web-modperl/lib-externals/P_2XLP
);


thats in the startup.pl file for my local machine.
my production box is freebsd, which has root in /usr/local/www/sites/ 
FindMeOn.com/web-modperl







Re: [RELEASE CANDIDATE] libapreq2 2.08-RC5

2006-08-06 Thread Randy Kobes

On Sun, 6 Aug 2006, Philip M. Gollucci wrote:


Please download, test, and VOTE  on the following
candidate tarball:

http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC5.tar.gz


Builds fine and all tests pass on:
- linux, Apache/2.0.55 prefork, mod_perl 2.02, perl-5.8.7
- Win32, Apache/2.2.2 winnt, mod_perl svn, perl-5.8.8
  (ActiverPerl 817)

Unfortunately, the problem on Win32 with running the 
glue/perl/t/apreq/upload.t test numerous times seems

to be still with us; I still see sporadic temp files
not being cleaned up. However, the tests still pass
for me; it'd be interesting to see if Steve has problems.

However, I don't want this problem to hold up a release
any longer, so I'm +1 for this.

--
best regards,
Randy