Re: CPAN modules

2005-04-22 Thread Philip M. Gollucci
Stas Bekman wrote: Philip, we have Bundle::Apache2 which is exactly for that purpose. Feel free to send a patch to add the missing modules. Yes, I added IPC::Run3 and uped the CGI version :) things to in a patch. Though as it can be seen from your list, most modules are either not needed by norma

Re: CPAN modules

2005-04-22 Thread Stas Bekman
Philip M. Gollucci wrote: Hi all, For those interested, to run _ALL_ tests of the modules themselves, modperl2, and libapreq2: I've had to install the following modules. Attached is a perl script to run this through CPAN. Philip, we have Bundle::Apache2 which is exactly for that purpose. Feel fr

Re: Apache2::Reload Segmentation Fault

2005-04-22 Thread Stas Bekman
Vincent Moneymaker wrote: I am running Apache 2.0.52 on a solaris 8 box with mod_perl-2.0.0-RC5. I previously had problems using Apache::Reload with mod_perl 1.99_19 version back in December and gave up trying to find a fix. I thought I would try again with the RC5 version but after having upg

Re: RC5 really broke some stuff

2005-04-22 Thread Stas Bekman
Jie Gao wrote: On Fri, 22 Apr 2005, Carl Johnstone wrote: Date: Fri, 22 Apr 2005 11:02:48 +0100 From: Carl Johnstone <[EMAIL PROTECTED]> To: modperl@perl.apache.org Subject: Re: RC5 really broke some stuff People like Jonathan and myself just have to double up (or triple-up!) because of the chan

Apache2::Reload Segmentation Fault

2005-04-22 Thread Vincent Moneymaker
I am running Apache 2.0.52 on a solaris 8 box with mod_perl-2.0.0-RC5. I previously had problems using Apache::Reload with mod_perl 1.99_19 version back in December and gave up trying to find a fix. I thought I would try again with the RC5 version but after having upgraded from mod_perl 1.99_1

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
On Apr 22, 2005, at 3:21 PM, Philip M. Gollucci wrote: Jason Dixon wrote: I'm still using the default perl binary (/usr/bin/perl). Run this command instead: ~/perl/bin/perl Makefile.PL PREFIX=~/perl You shoule be good to go. No, I'm not using a custom perl, I installed mod_perl using the original

Re: Help with request data

2005-04-22 Thread Markus Wichitill
Dermot Paikkos wrote: I just tried to install libapreq2 (v2-2.03-dev) from CPAN. It was a bit of a saga. I was missing a couple of prerequisites. Then it couldn't find Apache2.pm - I made a link to sort that - then I ran make test and there were errors. At that point I halted. At the moment yo

libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
I'm trying to install a non-root statically compiled Apache/mod_perl (1.x) on a test server. I've installed everything in my home directory, including Apache::Session, but libapreq is failing to recognize the mod_perl installation. Can someone tell me how to get libapreq installed for this sc

Re: Help with request data

2005-04-22 Thread JH Foo
Hello Dermot, You need to use Apache2::Request for mp2. This comes with the libapreq2 package from the excellent theoryx5 site. Notice the change in the package namespace. - Original Message - From: "Dermot Paikkos" <[EMAIL PROTECTED]> To: Sent: Friday, April 22, 2005 10:13 PM Subject: H

Re: Apache mod_perl

2005-04-22 Thread Philip M. Gollucci
Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2005 at 02:12:17PM +0200, Gert Jan Schipper wrote: I've installed Apache::AuthenNTLM and I got the following error now in error_log: failed to resolve handler `Apache::AuthenNTLM': Can't locate mod_perl.pm in @IN

Re: ticketing solutions

2005-04-22 Thread Dan Brian
What are people using to do authentication ticketing from mp? Nothing jumps out of CPAN at me, mostly because what I've seen just makes md5's out of username/password/expiration. Any recommendations? What were you expecting it to do beyond making a hash for verification? My point was that I don't

Re: Apache mod_perl

2005-04-22 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2005 at 02:12:17PM +0200, Gert Jan Schipper wrote: > I've installed Apache::AuthenNTLM and I got the following error now in > error_log: > > failed to resolve handler `Apache::AuthenNTLM': Can't locate mod_perl.pm > in @INC (@INC

Re: ticketing solutions

2005-04-22 Thread David Nicol
I use AIS::client, which I wrote myself. it hits a central AIS server, the code for the AIS server (an older version of it) is in my CPAN directory too. AIS is completely passwordless, relying on one-time capability tickets to verify receipt of e-mails, and then identity tickets in cookies, so th

Re: Apache mod_perl

2005-04-22 Thread Philip M. Gollucci
Gert Jan Schipper wrote: /local/apache2) at (eval 3) line 3.\n At first glance, did you install Apache::AuthenNTLM ? perl -MCPAN -e install 'Apache::AuthenNTLM' Hi, here are some questions / things to try. 1. Do you have multiple installations of perl? 2. Post the full output perl -V outpu

Re: RC5 really broke some stuff

2005-04-22 Thread Fred Moyer
>>If you're going to run beta or pre-release code - you've got to accept the >>risks that go with that. > > I think we all knew this. But rc4 was about the last one before formal > release, > and Stas promised since rc2 or something that there would be no API change > (I'm > not blaming him on t

Re: Mod_perl Installation Issues

2005-04-22 Thread Philip M. Gollucci
Cure wrote: I'm currently using Freebsd 5.3 and Apache2, I'm trying to install mod_perl2 from ports but I get the following error --> Excellent -- FreeBSD. You know I haven't tried that for a while. I do know that RC5 was just added to the ports but roled back by the maintainer. (see [EMAIL PRO

ticketing solutions

2005-04-22 Thread Dan Brian
What are people using to do authentication ticketing from mp? Nothing jumps out of CPAN at me, mostly because what I've seen just makes md5's out of username/password/expiration. Any recommendations? Ideally, I'm looking for a solution that might be usable both inside and outside mp, over multi

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
On Apr 22, 2005, at 3:20 PM, Geoffrey Young wrote: you'll need to ajust PERL5LIB so that it works. I suspect it would be $ PERL5LIB=~/lib64/perl5/ perl Makefile.PL at any rate, you can check what @INC looks like by just doing $ PERL5LIB=~/somelib perl -V and adjust PERL5LIB until you get /hom

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
On Apr 22, 2005, at 3:02 PM, Philip M. Gollucci wrote: Jason Dixon wrote: I installed mod_perl 1.29 with Apache 1.3.33. I'm trying to install Bricolage non-root, and Apache/mod_perl 1.x is a requirement. Post this output: find ~/perl -type f -name "mod_perl*.pm" -print -exec grep "VERSION" {} \;

Re: ticketing solutions

2005-04-22 Thread Michael Schout
Dan Brian wrote: > What are people using to do authentication ticketing from mp? Nothing > jumps out of CPAN at me, mostly because what I've seen just makes md5's > out of username/password/expiration. Any recommendations? My Apache::AuthTicket module implements a ticketing system similar to that

Re: Apache::LogFile?

2005-04-22 Thread Rob Bloodgood
Geoffrey Young wrote: Kevin White wrote: I use the old Apache::LogFile on a mod_perl 1.x app. I'm working on moving to mod_perl 2.x, and find the Apache::LogFile won't compile: Makefile.PL uses Apache::src. since this module use XS calls I suspect that porting it would be a bit more complex than

Re: Apache mod_perl

2005-04-22 Thread Philip M. Gollucci
Shannon Eric Peevey wrote: Philip M. Gollucci wrote: Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2005 at 02:12:17PM +0200, Gert Jan Schipper wrote: I've installed Apache::AuthenNTLM and I got the following error now in error_log: failed to resolve handler

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Geoffrey Young
> /home/jason/lib64/perl5/site_perl/5.8.0/mod_perl.pm > $mod_perl::VERSION = "1.29"; > $class->UNIVERSAL::VERSION(shift); > > I'll probably reinstall that in ~/apache to clean things up. Anyways, I > tried Geoffrey's suggestion based on this new information, but it still > doesn't se

Re: Apache mod_perl

2005-04-22 Thread Shannon Eric Peevey
Philip M. Gollucci wrote: Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2005 at 02:12:17PM +0200, Gert Jan Schipper wrote: I've installed Apache::AuthenNTLM and I got the following error now in error_log: failed to resolve handler `Apache::AuthenNTLM': Can't

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Philip M. Gollucci
Jason Dixon wrote: On Apr 22, 2005, at 3:05 PM, Philip M. Gollucci wrote: One other question: [EMAIL PROTECTED] libapreq-1.33]$ perl Makefile.PL PREFIX=~/perl What is your path. I hope that perl is ~/perl/bin/perl and not /usr/local/bin/perl or /usr/bin/perl. Unless you altered your path or you a

Re: ticketing solutions

2005-04-22 Thread Michael Schout
Dan Brian wrote: > My point was that I don't need a CPAN module to verify hashes. Features > could include a mechanism for rotating a key on the servers being > accessed, IP verification ... and other features I can't think of. :-) Apache::AuthTicket does ip verification. Not sure what you mean

Re: RC5 really broke some stuff

2005-04-22 Thread Jie Gao
On Fri, 22 Apr 2005, Carl Johnstone wrote: > Date: Fri, 22 Apr 2005 11:02:48 +0100 > From: Carl Johnstone <[EMAIL PROTECTED]> > To: modperl@perl.apache.org > Subject: Re: RC5 really broke some stuff > > > > People like Jonathan and myself just have to double up (or triple-up!) > > because of th

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
On Apr 22, 2005, at 3:05 PM, Philip M. Gollucci wrote: One other question: [EMAIL PROTECTED] libapreq-1.33]$ perl Makefile.PL PREFIX=~/perl What is your path. I hope that perl is ~/perl/bin/perl and not /usr/local/bin/perl or /usr/bin/perl. Unless you altered your path or you aliased perl, thats

Re: AW: auth mechanism and req. record

2005-04-22 Thread Geoffrey Young
> well, this is the case for HTTP. :) > > > Well I am using a non-HTTP protocol (implemented with the > multiprotocol capability of Apache2) where client and server > negotiate on an auth mechanism (e.g. CRAM-MD5 or CRAM-SHA1). > > These auth mechanisms are impl

Re: ticketing solutions

2005-04-22 Thread Dan Brian
Thanks all; I'll look at the solutions mentioned! On Apr 22, 2005, at 6:35 PM, Michael Schout wrote: Dan Brian wrote: My point was that I don't need a CPAN module to verify hashes. Features could include a mechanism for rotating a key on the servers being accessed, IP verification ... and other fe

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Jason Dixon wrote: On Apr 22, 2005, at 2:46 PM, Philip M. Gollucci wrote: Jason Dixon wrote: I'm trying to install a non-root statically compiled Apache/mod_perl (1.x) on a test server. I've installed everything in my home directory, including Apache::Session, but libap

Re: Help with request data

2005-04-22 Thread Dermot Paikkos
On 22 Apr 2005 at 10:30, Geoffrey Young wrote: > > MP2 RC5 > > > > I am moving from a MP1 to MP2 server and am having trouble. I have > > opted to re-write the scripts I had so I could add some more > > functions. > > > > I am struggling tring to find methods to access my form data and > > other

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Geoffrey Young
Jason Dixon wrote: > I'm trying to install a non-root statically compiled Apache/mod_perl > (1.x) on a test server. I've installed everything in my home directory, > including Apache::Session, but libapreq is failing to recognize the > mod_perl installation. Can someone tell me how to get libap

AW: auth mechanism and req. record

2005-04-22 Thread Dintelmann, Peter
Geoffrey, thanks for the quick reply. > > When you are implementing your own authentication mechanism e.g. > > in a server using the multiprotocol feature you have to pass two > > pieces of information to the Auth handler: the name of the auth > > mechanism used and the data submi

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Philip M. Gollucci
Jason Dixon wrote: On Apr 22, 2005, at 2:46 PM, Philip M. Gollucci wrote: Jason Dixon wrote: I'm trying to install a non-root statically compiled Apache/mod_perl (1.x) on a test server. I've installed everything in my home directory, including Apache::Session, but libapreq is failing to recogni

Mod_perl Installation Issue

2005-04-22 Thread Cure
I'm currently using Freebsd 5.3 and Apache2, I'm trying to install mod_perl2 from ports but I get the following error --> make install ===> mod_perl2-2.0.0r3,1 depends on file: /usr/local/sbin/apxs - found ===> mod_perl2-2.0.0r3,1 depends on file: /usr/local/bin/perl5.8.6 - found ===> Config

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Jason Dixon
On Apr 22, 2005, at 2:46 PM, Philip M. Gollucci wrote: Jason Dixon wrote: I'm trying to install a non-root statically compiled Apache/mod_perl (1.x) on a test server. I've installed everything in my home directory, including Apache::Session, but libapreq is failing to recognize the mod_perl ins

Re: Help with request data

2005-04-22 Thread Dermot Paikkos
On 22 Apr 2005 at 18:36, Markus Wichitill wrote: > > At the moment you'll have to pull the current version of apreq2 from > SVN for MP2-RC5. > > http://svn.apache.org/repos/asf/httpd/apreq/trunk thanx but I think I might be getting out of my depth. I'll wait till there's a full release. Dp.

Re: Help with request data

2005-04-22 Thread Dermot Paikkos
On 23 Apr 2005 at 0:25, JH Foo wrote: > Hello Dermot, Hi, > You need to use Apache2::Request for mp2. This comes with the > libapreq2 package from the excellent theoryx5 site. Notice the change > in the package namespace. I just tried to install libapreq2 (v2-2.03-dev) from CPAN. It was a bit o

Re: libapreq install fails for non-root Apache/mod_perl

2005-04-22 Thread Philip M. Gollucci
Jason Dixon wrote: I'm trying to install a non-root statically compiled Apache/mod_perl (1.x) on a test server. I've installed everything in my home directory, including Apache::Session, but libapreq is failing to recognize the mod_perl installation. Can someone tell me how to get libapreq in

Re: ticketing solutions

2005-04-22 Thread Perrin Harkins
On Fri, 2005-04-22 at 13:59 -0600, Dan Brian wrote: > My point was that I don't need a CPAN module to verify hashes. Features > could include a mechanism for rotating a key on the servers being > accessed, IP verification ... Key rotation would be nice. IP verification wouldn't be nice, unless

Mod_perl Installation Issues

2005-04-22 Thread Cure
I'm currently using Freebsd 5.3 and Apache2, I'm trying to install mod_perl2 from ports but I get the following error --> make install ===> mod_perl2-2.0.0r3,1 depends on file: /usr/local/sbin/apxs - found ===> mod_perl2-2.0.0r3,1 depends on file: /usr/local/bin/perl5.8.6 - found ===> Config

Re: ticketing solutions

2005-04-22 Thread Perrin Harkins
On Fri, 2005-04-22 at 13:33 -0600, Dan Brian wrote: > What are people using to do authentication ticketing from mp? Nothing > jumps out of CPAN at me, mostly because what I've seen just makes md5's > out of username/password/expiration. Any recommendations? What were you expecting it to do beyon

Re: Help with request data

2005-04-22 Thread Geoffrey Young
Dermot Paikkos wrote: > Hi > > MP2 RC5 > > I am moving from a MP1 to MP2 server and am having trouble. I have > opted to re-write the scripts I had so I could add some more > functions. > > I am struggling tring to find methods to access my form data and > other headers. I am currently usin

Help with request data

2005-04-22 Thread Dermot Paikkos
Hi MP2 RC5 I am moving from a MP1 to MP2 server and am having trouble. I have opted to re-write the scripts I had so I could add some more functions. I am struggling tring to find methods to access my form data and other headers. I am currently using my $form_data = $r->the_request() and s

Re: how to take out the default charset append?

2005-04-22 Thread Carl Johnstone
Please help me with one more related question: if I am to simply use $r->content_type('text/html'), the final render to the client comes with ';charset=8859-1' appended to the header. Is this the result of Apache, or mod_perl? Is there any way I can just render Content-Type: text/html without a

Re: auth mechanism and req. record

2005-04-22 Thread Geoffrey Young
Dintelmann, Peter wrote: > When you are implementing your own authentication mechanism e.g. > in a server using the multiprotocol feature you have to pass two > pieces of information to the Auth handler: the name of the auth > mechanism used and the data submitted by the client (e.g. a MD5 > hash

auth mechanism and req. record

2005-04-22 Thread Dintelmann, Peter
When you are implementing your own authentication mechanism e.g. in a server using the multiprotocol feature you have to pass two pieces of information to the Auth handler: the name of the auth mechanism used and the data submitted by the client (e.g. a MD5 hash). The name of the auth mechanism ca

RE: Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
/local/apache2) at (eval 3) line 3.\n > > At first glance, did you install Apache::AuthenNTLM ? > perl -MCPAN -e install 'Apache::AuthenNTLM' > I've installed Apache::AuthenNTLM and I got the following error now in error_log: failed to resolve handler `Apache::AuthenNTLM': Can't locate mod_perl

RE: Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
I receive the errors after the module Apache-AuthenNTLM (with perl -MCPAN...) is installed. > -Original Message- > From: Shannon Eric Peevey [mailto:[EMAIL PROTECTED] > Sent: Friday, April 22, 2005 1:30 PM > To: Gert Jan Schipper > Cc: modperl@perl.apache.org > Subject: Re: Apache mod_perl

Re: Apache mod_perl

2005-04-22 Thread Shannon Eric Peevey
Gert Jan Schipper wrote: The version of mod_perl is "mod_perl-2.0.0-RC5". The installation is done very well. But when I use Apache::AuthenNTLM in the httpd.conf, I got the below errors. I'm sorry, Gert, I was moving through my mailbox, and wrote this last message before realizing someone else had

RE: Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
The version of mod_perl is "mod_perl-2.0.0-RC5". The installation is done very well. But when I use Apache::AuthenNTLM in the httpd.conf, I got the below errors. > -Original Message- > From: Shannon Eric Peevey [mailto:[EMAIL PROTECTED] > Sent: Friday, April 22, 2005 1:19 PM > To: Gert Jan

Re: Apache mod_perl

2005-04-22 Thread Shannon Eric Peevey
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

Re: RC5 really broke some stuff

2005-04-22 Thread Carl Johnstone
People like Jonathan and myself just have to double up (or triple-up!) because of the change. Try telling that to your bosses that the latest version of modperl is holding things back ('told you we should've used Java!'). Did your boss know that the "latest" version of mod_perl is actually a pr

RE: Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
Sorry, I had problems with a proxy server setting, but after run the command: perl -MCPAN -e install 'Apache::AuthenNTLM' I get the same error: 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 > -Origina

RE: Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
Hi Philip, I use httpd-2.0.52 and mod_perl-2.0.0-RC5 After install 'Apache::AuthenNTLM' I didn't see the same error in the error_log, so that's nice. Thanks for your help, however when I start the webpage I didn't get an login-prompt, and there are no messages added to my error_log. I get the pag

Re: Apache mod_perl

2005-04-22 Thread Philip M. Gollucci
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::AuthenNTL

Apache mod_perl

2005-04-22 Thread Gert Jan Schipper
Hi All,   After install mod_perl I’ve changed my httpd.conf file to:   Alias /cordys "/opt/Cordys/Web"     PerlAuthenHandler Apache::AuthenNTLM     AuthName "NTLM Test"     AuthType ntlm     PerlAddVar ntdomain "NTDOM"     PerlSetVar defaultdomain NTDOM  

CPAN modules

2005-04-22 Thread Philip M. Gollucci
Hi all, For those interested, to run _ALL_ tests of the modules themselves, modperl2, and libapreq2: I've had to install the following modules. Attached is a perl script to run this through CPAN. HTH Note: This list is ordered so that even perl5.6.2 doesn't ask you about dependenc

Re: RC5 really broke some stuff

2005-04-22 Thread Philip M. Gollucci
Tom Schindl wrote: Not right. You could use the multienv-branch of libapreq. Tom Not true. Trunk was moved to a dead branch and this branch was moved to trunk in its place. You should use trunk. The multienv-branch nolonger exists. This happened Monday evenging. libapreq2(trunk) + mp2 RC5 is t

Re: RC5 really broke some stuff

2005-04-22 Thread Tom Schindl
jonathan vanasco wrote: Its pretty well documented everywhere -- including the announcement and install instructions libapreq does not work right yet. if you're dealing with production or stability sensitive stuff, i'd suggest keeping a copy of RC4 running and development on that release, the