RE: Multiple authentication methods

2002-02-14 Thread Per Einar Ellefsen
At 17:21 13.02.2002 -0600, you wrote: File::Spec is in included with the standard perl mods I believe so dependencies shouldn't be a problem. I see. You're right, this is actually much nicer! Sorry for the misinformation. On debian it return : also. I made a mistake checking it. But

Re: Custom Logging and User Tracking

2002-02-14 Thread Per Einar Ellefsen
At 15:22 13.02.2002 -0800, Ryan Parr wrote: Nothing special to the way these sites work. You can check out http://www.rileyjames.com and http://www.ryanparr.com (the programming on the latter will leave you in awe :) I want to host my sites and have a decent usage statistics location, but I just

Re: Multiple authentication methods

2002-02-14 Thread Marcel Weber
Hi Darren Would you submit the current version? If you need help with the Documentation just let me know. For the makefile, I do not have any experience. Marcel Am Mittwoch den, 13. Februar 2002, um 21:01, schrieb darren chamberlain: Quoting Marcel Weber [EMAIL PROTECTED] [13 Feb-02

How to step over the STDIN, while input redirection is not given at commandline

2002-02-14 Thread SubbaReddy M
Hello Gurus, Source code: of printFile.pl # File: printFile.pl ## #! /usr/bin/perl -w my (@data, $user); # Input rediretion file $user = (defined @ARGV) ? shift @ARGV : Anonymous; # I don't wish to prompt by program, but it's still waiting how to Step Over here @data

Re: Cookie as session store

2002-02-14 Thread Jay Lawrence
Jeffrey - interesting point! What did you have in mind to encrypt the cookie data? Perhaps you could use Storable to serialize data structure then convert, crypt to scramble and then MIME64 to text encode? I agree with you on processing delays - that is probably the biggest drawback to needing

Re: How to step over the STDIN, while input redirection is not given at commandline

2002-02-14 Thread Dan Boger
On Thu, Feb 14, 2002 at 03:34:56PM +0530, SubbaReddy M wrote: = How to check the input direction is given or not in perl, @ = STDIN; = like @ = STDIN if ( defined STDIN ); But this will not full fill the requirement, because, it's prompting for input, if redirection missing at commandline.

mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Hi: I'm attempting to make httpd apache-1.3.23 with mod_perl-1.26 and ActiveState Perl 5.6.1 Build 631. This is a simple build with no other modules or EAPI references. Unfortunately, I'm encountering the following error when the compile of the http_core.c routine is attempted: gcc -c -I..

Re: mod_perl compile problem

2002-02-14 Thread Randy Kobes
On Thu, 14 Feb 2002, OCNS Consulting wrote: I'm attempting to make httpd apache-1.3.23 with mod_perl-1.26 and ActiveState Perl 5.6.1 Build 631. This is a simple build with no other modules or EAPI references. Unfortunately, I'm encountering the following error when the compile of the

Re: Cookie as session store

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 06:17, Jay Lawrence wrote: Jeffrey - interesting point! What did you have in mind to encrypt the cookie data? Perhaps you could use Storable to serialize data structure then convert, crypt to scramble and then MIME64 to text encode? I am not encrypting the session

Re: Cookie as session store

2002-02-14 Thread Perrin Harkins
When the cookie is recovered, I simply decode, uncompress, thaw, check the digest, and thaw the inner object. It's really a good idea to do this even when the cookie is nothing but a session ID. A standard module for this like the one Jay mentioned would definitely be nice. My strategy for

RE: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Randy, Unfortunately, the same results were yielded using the flexible way. Below is the perl Makefile.PL, make Build session. I look forward to your response. RB == Build Session == [mod_perl-1.26]# perl Makefile.PL

Re: mod_perl compile problem

2002-02-14 Thread Hans Juergen von Lengerke
OCNS Consulting [EMAIL PROTECTED] on Feb 14, 2002: [mod_perl-1.26]# perl Makefile.PL APACHE_SRC=/dist/apache_1.3.23/src DO_HTTPD=1 USE_ACAPI=1 PREP_HTTPD=1 EVERYTHING=1 ^ Make that USE_APACI=1 Now, I may be missing something and somebody already asked you earlier about

RE: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Hans: Thanks for the TYPO catch. Yes ActiveState Perl is available for Linux. See: - RPM - http://downloads.activestate.com/ActivePerl/Linux/5.6/ActivePerl-5.6.1.631-i 686-linux.rpm Once again, I performed the flexible way Build method, creating the libperl.a ar library. I then

RE: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Kevin, Configured Apache with --enable-rule=SHARED_CORE; make - same results. RB -Original Message- From: Cheung, Kevin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 11:47 AM To: 'OCNS Consulting' Subject: RE: mod_perl compile problem did you try

[upload@p11.speed-link.de: CPAN Upload: D/DA/DARREN/Apache-MultiAuth-0.04.tar.gz]

2002-02-14 Thread darren chamberlain
- Forwarded message from PAUSE [EMAIL PROTECTED] - Date: Thu, 14 Feb 2002 19:13:11 +0100 Reply-To: [EMAIL PROTECTED] Subject: CPAN Upload: D/DA/DARREN/Apache-MultiAuth-0.04.tar.gz From: PAUSE [EMAIL PROTECTED] To: Darren Chamberlain [EMAIL PROTECTED], [EMAIL PROTECTED] The uploaded file

inheritance and Apache::Request

2002-02-14 Thread Alex Porras
I am slowly learning about OO from Tom's tutorial, and was able to do inheritance with two dummy classes I wrote, including adding methods to the subclass and have them work too. However, when I tried to inherit from Apache::Request, it doesn't seem to work right. Maybe this isn't an

Re: inheritance and Apache::Request

2002-02-14 Thread Geoffrey Young
Alex Porras wrote: I am slowly learning about OO from Tom's tutorial, and was able to do inheritance with two dummy classes I wrote, including adding methods to the subclass and have them work too. However, when I tried to inherit from Apache::Request, it doesn't seem to work right. Maybe

Re: inheritance and Apache::Request

2002-02-14 Thread wsheldah
Hi Alex, The problem is that package FooBar doesn't have a new method. Here's what happened as a result. When you called 'FooBar-new($r), perl looked for a sub called new in package FooBar. Since it didn't find one, it looked at FooBar's @ISA, and looked in Apache::Request for a new method.

Re: FW: mod_perl compile problem

2002-02-14 Thread Ged Haywood
Hi there, On Thu, 14 Feb 2002, IEEE Consulting wrote: Any other thoughts on this issue? I really would like to use mod_perl. What's your Linux installation? You _have_ got the Linux sources and things like that installed? 73, Ged. PS: you don't need to circulate to the dev list.

RE: FW: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Ged, The Server is installed with Redhat Linux 7.2 with latest the kernel sources. Here's the output from #rpm -q -a | grep kernel kernel-doc-2.4.9-21 kernel-source-2.4.9-21 kernel-pcmcia-cs-3.1.27-10 kernel-2.4.7-10 kernel-headers-2.4.9-21

Re: Cookie as session store

2002-02-14 Thread Issac Goldstand
Perrin Harkins wrote: When the cookie is recovered, I simply decode, uncompress, thaw, check the digest, and thaw the inner object. It's really a good idea to do this even when the cookie is nothing but a session ID. A standard module for this like the one Jay mentioned would definitely be

Re: Cookie as session store

2002-02-14 Thread Perrin Harkins
I dunno... That sounds lie a LOT of overhead for just a session ID that's gonna result in server lookups too... It's really not. It adds a negligeble amount of time to the request. As Jeffrey pointed out, the functions he's using are all in C and very fast. Why verify session IDs? To make

RE: FW: mod_perl compile problem

2002-02-14 Thread Ged Haywood
Hi there, On Thu, 14 Feb 2002, OCNS Consulting wrote: The Server is installed with Redhat Linux 7.2 with latest the kernel Sorry if this has been covered, I haven't read all the thread: did you get the sources for Perl, Apache and mod_perl as tarballs or did you use RPMs? If you used RPMS

RE: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Ged, Yes, I have installed all three (Apache 1.3.23, Perl 5.6.1, mod_perl 1.2.6) from the tarball sources, tried to build and received the same results. I haven't tried Perl 5.7.2. Now, because the same result was yielded, I revert back to the ActiveState rpm version 5.6.1 Build 631. Do you

RE: inheritance and Apache::Request

2002-02-14 Thread Alex Porras
Ok, that makes sense. But the reason I didn't include a new method for FooBar was because I don't know what A::R's new method does, so I didn't want to override it. What if it does some init stuff to the object? I'm assuming that's what's happening because, after adding a new method to

mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work? I installed it on a Slackware machine using the source code and apxs. It loads but segfaults on every request. I installed it on a Debian machine via apt-get and it segfaults at

Re: inheritance and Apache::Request

2002-02-14 Thread Paul Lindner
On Thu, Feb 14, 2002 at 01:55:34PM -0600, Alex Porras wrote: Ok, that makes sense. But the reason I didn't include a new method for FooBar was because I don't know what A::R's new method does, so I didn't want to override it. What if it does some init stuff to the object? I'm assuming that's

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Robin Berjon
On Thursday 14 February 2002 20:59, Jeffrey W. Baker wrote: Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work? I installed it on a Slackware machine using the source code and apxs. It loads but segfaults on every request. I

RE: mod_perl compile problem

2002-02-14 Thread Ged Haywood
Hi again, On Thu, 14 Feb 2002, OCNS Consulting wrote: I revert back to the ActiveState rpm version 5.6.1 Build 631. Do you believe that the version of PERL or APACHE has something to do with it? No, I don't think it's a Perl problem, but it's a very complex bunch of software and an awful

FW: mod_perl compile problem

2002-02-14 Thread IEEE Consulting
Any other thoughts on this issue? I really would like to use mod_perl. Regards, RB -Original Message- From: OCNS Consulting [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 11:48 AM To: Hans Juergen von Lengerke Cc: Randy Kobes; [EMAIL PROTECTED]; [EMAIL PROTECTED]

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 14, 2002 at 11:59:02AM -0800, Jeffrey W. Baker wrote: Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work? Compile it. Install it. Works brilliantly. Don't know what your

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jay Thorne
On February 14, 2002 01:57 pm, Stephen Clouse wrote: On Thu, Feb 14, 2002 at 11:59:02AM -0800, Jeffrey W. Baker wrote: Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work? Compile it. Install it. Works brilliantly. Don't

RE: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jonathan M. Hollin
:: Does mod_gzip suck or what? Some of you claim to use it. :: Now is the :: time to confess. How do you get it to work? :: :: Compile it. Install it. Works brilliantly. Hell I even got it to work under Win32. Agree with the other replies, it works brilliantly. Jonathan M. Hollin -

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 14:32, Jay Thorne wrote: On February 14, 2002 01:57 pm, Stephen Clouse wrote: On Thu, Feb 14, 2002 at 11:59:02AM -0800, Jeffrey W. Baker wrote: Does mod_gzip suck or what? Some of you claim to use it. Now is the time to confess. How do you get it to work?

RE: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Rob Bloodgood
Ditto here. Working quite well on fairly high volume servers. Hrmm how interesting. My Apache is built with PHP (with DOM, MySQL, and Postgres) and mod_perl. With mod_gzip enabled it simply segfaults on every single request. have you looked at the work at http://www.apachetoolbox.com/ ?

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 14, 2002 at 02:44:53PM -0800, Jeffrey W. Baker wrote: Hrmm how interesting. My Apache is built with PHP (with DOM, MySQL, and Postgres) and mod_perl. With mod_gzip enabled it simply segfaults on every single request. We have (other

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Jeffrey W. Baker
On Thu, 2002-02-14 at 15:07, Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 14, 2002 at 02:44:53PM -0800, Jeffrey W. Baker wrote: Hrmm how interesting. My Apache is built with PHP (with DOM, MySQL, and Postgres) and mod_perl. With mod_gzip enabled it

RE: mod_perl compile problem

2002-02-14 Thread Randy Kobes
On Thu, 14 Feb 2002, OCNS Consulting wrote: Ged, Yes, I have installed all three (Apache 1.3.23, Perl 5.6.1, mod_perl 1.2.6) from the tarball sources, tried to build and received the same results. I haven't tried Perl 5.7.2. Now, because the same result was yielded, I revert back to the

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Robin Berjon
On Friday 15 February 2002 00:18, Jeffrey W. Baker wrote: Okay, I'll take a run at compiling everything statically. I've had no end of problems though with Expat, MySQL, PostgreSQL, and Zlib libraries being linked in multiple times by multiple modules or even Apache itself. Especially

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Feb 14, 2002 at 03:18:37PM -0800, Jeffrey W. Baker wrote: Okay, I'll take a run at compiling everything statically. First, just try loading mod_gzip before any other (non-static) module. You might save yourself the trouble of recompiling

Re: Perl Section Bug?

2002-02-14 Thread David Wheeler
On Wed, 2002-02-13 at 20:44, Salvador Ortiz Garcia wrote: Ok, I found it. Right now all Location, Directory and Files are afected by being upgraded at random to the Match versions. Ugly. Can you please test the following patch for perl_config.c: snip / Yes, that does indeed correct the

RE: mod_perl compile problem

2002-02-14 Thread OCNS Consulting
Ged, I Unzip/Untar the Apache tarball and change to the Apache top level distribution directory. I then Unzip/Untar the module dists and one by one prep each module for a static build and then finally build mod_perl as per my previous messages. FYI: I dumped ActiveState Perl, built the regular

Re: Question...

2002-02-14 Thread Rodney Hampton
Actually, you can use the onUnload handler in the body tag. http://developer.netscape.com/docs/manuals/communicator/jsref/evnt24.htm Rodney Hampton Jon Robison wrote: On page leave? Well I think you can of course use javascript on all the links on the page, but I don't believe you can do

Re: mod_perl documentation

2002-02-14 Thread Ask Bjoern Hansen
On Wed, 13 Feb 2002, peteman wrote: What format are the documentation files (INSTALL, README, SUPPORT, etc) in, and why are they not in plain text format?? It's giving me a headache trying to read them. This is horidly evil(IMO), might i suggest that you distribute documentation in

Re: Custom Logging and User Tracking

2002-02-14 Thread masta
On Wed, 13 Feb 2002, Ryan Parr wrote: I checked it out and it's a good mod. I've already got the ability to log the data however. The issue that I'm having is that I can't seem to only get 1 log per hit. I can't seem to get around the fact that wherever I put my mod

Re: mod_perl, mod_gzip, incredible suckage

2002-02-14 Thread Mithun Bhattacharya
Robin Berjon wrote: I got it to work once, but I confirm this was painful. I don't use it anymore though so I can't remember the magic that it took to get it to run. As an alternative (probably incomplete) solution, you might want to look inside one of the templating/publishing modules