Authhandler

2001-04-10 Thread Kiran k
Hi , I am having problems with the stacked handlers , i have enclosed the code below , the error i get is undefined value ($r) in sub authenticate package SetRealm1; use Apache; use Apache::Constants qw(:common); use DBI; use diagnostics; sub handler { my $r = shift;

Re: Authhandler

2001-04-10 Thread Robin Berjon
At 10:31 10/04/2001 +, Kiran k wrote: I am having problems with the stacked handlers , i have enclosed the code below , the error i get is undefined value ($r) in sub authenticate $r-push_handlers(PerlAuthenHandler = \authenticate()); You're missing a in there :) It's calling

[DIGEST] mod_perl digest 04/07/01

2001-04-10 Thread Geoffrey Young
-- mod_perl digest April 1, 2001 - April 7, 2001 -- Recent happenings in the mod_perl world... Features o

Re: [DIGEST] mod_perl digest 04/07/01

2001-04-10 Thread Paul Johnson
On Tue, Apr 10, 2001 at 09:36:45AM -0400, Geoffrey Young wrote: o Perl - stable: 5.6 (released March 23, 2000) [5] - development: 5.7 [6] That'll be 5.6.1 and 5.7.1 now. (perl.com is out of date) -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: Authhandler

2001-04-10 Thread Mike Cameron
Kiran k wrote: Hi , I am having problems with the stacked handlers , i have enclosed the code below , the error i get is undefined value ($r) in sub authenticate package SetRealm1; use Apache; use Apache::Constants qw(:common); use DBI; use diagnostics; sub handler { my $r

RE: [DIGEST] mod_perl digest 04/07/01

2001-04-10 Thread Geoffrey Young
-Original Message- From: Paul Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 9:58 AM To: Geoffrey Young Cc: '[EMAIL PROTECTED]' Subject: Re: [DIGEST] mod_perl digest 04/07/01 On Tue, Apr 10, 2001 at 09:36:45AM -0400, Geoffrey Young wrote: o Perl -

errors installing Apache 1.3.19/mod_perl 1.25 on RedHat 6.1

2001-04-10 Thread Jonathan Swartz
I am trying to install mod_perl with APACI, exactly as written in mod_perl/INSTALL.apaci under "The flexible way". I get the warnings and fatal errors below. My system: Apache 1.3.19 mod_perl 1.25 Perl 5.005_03 RedHat 6.1 (Linux 2.2.12-20) % perl Makefile.PL

Re: [DIGEST] mod_perl digest 04/07/01

2001-04-10 Thread Paul Johnson
On Tue, Apr 10, 2001 at 10:05:30AM -0400, Geoffrey Young wrote: well, 5.6.1 at least - my bleedperl still says 5.7.0 (and so does http://www.cpan.org/src/index.html) http://www.cpan.org/authors/id/JHI/perl-5.7.1.tar.gz OK, so it's less than 12 hours old :-) -- Paul Johnson - [EMAIL

Re: Authhandler

2001-04-10 Thread Paul
--- Kiran k [EMAIL PROTECTED] wrote: . . . the error i get is undefined value ($r) in sub authenticate . . . r-push_handlers(PerlAuthenHandler = \authenticate()); r-push_handlers has no lexical symbol, and authenticate has no lexical and no argument. Try this:

RE: [DIGEST] mod_perl digest 04/07/01

2001-04-10 Thread Geoffrey Young
-Original Message- From: Paul Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 10:18 AM To: Geoffrey Young Cc: 'Paul Johnson'; '[EMAIL PROTECTED]' Subject: Re: [DIGEST] mod_perl digest 04/07/01 On Tue, Apr 10, 2001 at 10:05:30AM -0400, Geoffrey Young wrote:

@INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-10 Thread Tim Sweetman
Hi, According to this document, http://thingy.kcilink.com/modperlguide/porting/_INC_and_mod_perl.html you can add directories to @INC by putting PerlSetEnv PERL5LIB /home/httpd/perl in your Apache conf. file (that is unless you're using taint checking, in which case it will be ignored...?)

Apache::Filter and cookies

2001-04-10 Thread JR Mayberry
Anyone have experience w/ Apache::Filter and handlers that set cookies.. It looks like they are being lost.. I found an article on an archive of someone saying they are having the same problem and someone else said the solution was to just not send the header, but you were fine as long as you

Re: Apache::ASP

2001-04-10 Thread Joshua Chamas
alexus wrote: I don't know what there wrong to setup i have in httpd.conf following lines: LoadModule perl_modulelibexec/libperl.so and AddModule mod_perl.c and whenever I start apache I get this in error_log [Tue Apr 10 00:40:23 2001] [notice] Apache/1.3.19 (Unix)

Problem with modperl

2001-04-10 Thread Escario Julien
Hello, I've compiled mod_perl as a Apache module with apxs after I installing apache. So I load mod_perl with this in the httpd.conf : LoadModule Perllibexec/modperl.so Next apache restart correctly ... When I try to get any of the web page, Netscpe return me : This document contains no data

RE: Apache::Filter and cookies

2001-04-10 Thread Geoffrey Young
-Original Message- From: JR Mayberry [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 11:31 AM To: [EMAIL PROTECTED] Subject: Apache::Filter and cookies Anyone have experience w/ Apache::Filter and handlers that set cookies.. It looks like they are being lost.. I

Re: Problem with modperl

2001-04-10 Thread G.W. Haywood
Hi there, On Tue, 10 Apr 2001, Escario Julien wrote: This document contains no data ... but why ? Could be lots of reasons. Often it's because Apache is segfaulting. Look in the error_log, it might tell you. Have you read the guide? http://perl/apache.org/guide 73, Ged.

Re: @INC and mod_perl - PerlSetEnv PERL5LIB ... doesn't seem to work

2001-04-10 Thread Vivek Khera
"TS" == Tim Sweetman [EMAIL PROTECTED] writes: TS you can add directories to @INC by putting TS PerlSetEnv PERL5LIB /home/httpd/perl Just use the second method in the guide. ie, use lib '/path/to/lib' in a startup script. --

Re: Problem with modperl

2001-04-10 Thread Escario Julien
Here's exactly the line in httpd.conf : LoadModule perl_modulelibexec/libperl.so I'm gone on http://perl.apache.org/guide/ but nothing is said on my case. I forgot a detail : I'm using mod_vhost_alias , is mod_perl compatible ? On apache restart here's what I get in error_log : [Tue Apr

re: earlier post

2001-04-10 Thread Paul
I just realized I earlier posted here recommending that someone use a push_handler referenced with an argument. Please don't throw rotten tomatos. IF that person is reading this, use Mike's suggestion of Apache-request instead. Thanks. We now return to your regularly scheduled spam.

Cutting down on the DEBUG bloat...

2001-04-10 Thread Paul Lindner
Hi, As part of my ongoing effort to streamline my mod_perl apps, I've come to discover the joy of constant subroutines and perl's ability to inline or eliminate code at compile time. I have a solution that works, but would be interested in seeing if others had better syntactic sugar.. Anyway:

Re: Cutting down on the DEBUG bloat...

2001-04-10 Thread Jeffrey W. Baker
On Tue, 10 Apr 2001, Paul Lindner wrote: Now, my question is: Is there some trick I could use to retain the simple syntax: debug "foo bar"; I always liked using a preprocessor to turn debug code on or off. ePerl is OK, and Perl can of course be its own preprocessor. -jwb

Re: Cutting down on the DEBUG bloat...

2001-04-10 Thread Perrin Harkins
As part of my ongoing effort to streamline my mod_perl apps, I've come to discover the joy of constant subroutines and perl's ability to inline or eliminate code at compile time. I have a solution that works, but would be interested in seeing if others had better syntactic sugar.. You

Java.pm

2001-04-10 Thread cbell
Hello everyone, has anyone had any experience with Java.pm? There doesn't seem to be much info in the mail archives. I'm trying to access a JAR from within perl using the Java.pm, but I always receive the error: 'java.lang.ClassNotFoundException'. I can access the jar from a Java script at

Re: Java.pm

2001-04-10 Thread Brett W. McCoy
On Tue, 10 Apr 2001, cbell wrote: Hello everyone, has anyone had any experience with Java.pm? There doesn't seem to be much info in the mail archives. I'm trying to access a JAR from within perl using the Java.pm, but I always receive the error: 'java.lang.ClassNotFoundException'. I can

Re: Apache::ASP

2001-04-10 Thread alexus
I dont run two web servers all i want is to run fully functional mod_perl so i can run Apache::ASP on my *one* (single) webserver please advice - Original Message - From: "Joshua Chamas" [EMAIL PROTECTED] To: "alexus" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, April 10,

Re: Problem with modperl

2001-04-10 Thread G.W. Haywood
Hi again, On Tue, 10 Apr 2001, Escario Julien wrote: I forgot a detail : I'm using mod_vhost_alias , is mod_perl compatible ? It probably isn't the problem, I use it too. But don't take my word for it. [Tue Apr 10 19:46:23 2001] [notice] child pid 1500 exit signal Segmentation fault (11)

Re: Java.pm

2001-04-10 Thread Sean C. Brady
On Tue, 10 Apr 2001, Brett W. McCoy wrote: On Tue, 10 Apr 2001, cbell wrote: Hello everyone, has anyone had any experience with Java.pm? There doesn't seem to be much info in the mail archives. I'm trying to access a JAR from within perl using the Java.pm, but I always receive the

Re: Cutting down on the DEBUG bloat

2001-04-10 Thread Mike Whitaker
Ah yes... I remember it well. CricInfo's home grown advert engine (mod_perl resident) was running like the proverbial drain, and being its author, I was tasked to find out why. A brief course through Devel::DProf later, we found the top of the profiling tree in terms of time spent to be a

Java.pm

2001-04-10 Thread c.w.huling
http://www-personal.umich.edu/~mcafee/perl/java-pm.html Known Issues: Currently, Java.pm can only read uncompressed zipfiles; it will die if there is a member of CLASSPATH which is a compressed zipfile (this includes jar files). I am looking into remedying this deficiency. cbell

cvs commit: modperl-2.0/Apache-Test/lib/Apache TestServer.pm

2001-04-10 Thread dougm
dougm 01/04/10 09:48:50 Modified:Apache-Test/lib/Apache TestServer.pm Log: include -d ServerRoot in the args to start test httpd Revision ChangesPath 1.4 +2 -1 modperl-2.0/Apache-Test/lib/Apache/TestServer.pm Index: TestServer.pm