Re: perl -V ??

2000-01-11 Thread Steve van der Burg
st::MD5 -le 'print $Digest::MD5::VERSION' for each module. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: Apache 1.3.9 + mod_perl 1.21 + Solaris 2.7 dumps core

2000-01-13 Thread Steve van der Burg
7;-G -L/opt/lib' Characteristics of this binary (from libperl): Built under solaris Compiled at Sep 17 1999 14:21:43 @INC: /opt/lib/perl5/5.00503/sun4-solaris /opt/lib/perl5/5.00503 /opt/lib/perl5/site_perl/5.005/sun4-solaris /opt/lib/perl5/site_perl/5.005 . ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: REPOST: Limiting Resources

2000-05-25 Thread Steve van der Burg
ll that's used to launch the httpd parent). ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: REPOST: Limiting Resources

2000-05-25 Thread Steve van der Burg
>>>>>> Steve van der Burg <[EMAIL PROTECTED]> writes: > >>> I am trying to limit the execution of a mod_perl script by setting the >>> limit of RLimitCPU. But >>> this does not seem to work. I am using apache 1.3.12 , mod_perl. I >>>

Simple program _setting_ REMOTE_ADDR

2000-06-23 Thread Steve van der Burg
I've tried doing it with Apache's SetEnvIf (OT here, I know), and that doesn't do it either. A quick check of the Eagle book, and a search through dejanews didn't turn up anything, and this should be easy... Help! ...Steve -- Steve van der Burg Information Services London

Re: Simple program _setting_ REMOTE_ADDR

2000-06-23 Thread Steve van der Burg
>>>>>> Vivek Khera <[EMAIL PROTECTED]> wrote: >>>>> "SvdB" == Steve van der Burg <[EMAIL PROTECTED]> wrote: >SvdB> That is, I'd like to set REMOTE_ADDR like so: >SvdB> >SvdB> # Feed vendor's crappy CGI code a fake

Re: Simple program _setting_ REMOTE_ADDR - SOLUTION

2000-06-23 Thread Steve van der Burg
the handler: #!/bin/perl package LHSC::FakeRemoteIP; use Apache::Constants qw /:common/; use strict; sub handler { my $r = shift; $r->connection->remote_ip("1.2.3.4"); return OK; } 1; I've tested it and it works perfectly. ...Steve -- Steve van der Burg Information

Re: Simple program _setting_ REMOTE_ADDR - SOLUTION

2000-06-23 Thread Steve van der Burg
ctual client IP. Something like this: Good points. This is my first real foray outside of content handlers, so I chose something early on in the request phase. I'll give the code you've provided a try this afternoon. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: Simple program _setting_ REMOTE_ADDR

2000-07-04 Thread Steve van der Burg
ck reading of some of the Apache source (esp. mod_cgi), I had a working solution up and running 90 minutes (!) after first deciding to attack the problem from that angle. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: can't get unbuffered output to work

2000-07-13 Thread Steve van der Burg
nd Apache 1.3.12. > >Any clues? Netscape is waiting for an HTML visual break of some kind before showing any output - if you modify your test handler to spew "Hello!" before sleeping, you should see it. ...Steve -- Steve van der Burg Information Services London Health S

Re: PerlAuthenHandler -- doesn't get there...?

2000-08-18 Thread Steve van der Burg
thCookie, and snooping in the Apache source a bit, I think that your "AuthType Basic" needs to be changed to "AuthType Serensoft::Auth". ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: PerlAuthenHandler -- doesn't get there...? SOLVED

2000-08-21 Thread Steve van der Burg
he handlers don't get invoked, and I instead see this error from apache: configuration error: couldn't check user. No user file?: /some/where This comes from http_request.c, which is responding to "AuthType Basic". It's giving an error because I haven't told it wh

Re: PUT handling (somewhat off-topic)

2000-09-06 Thread Steve van der Burg
ected it to say) which means I've been of almost no help! If it hadn't worked, I probably would've trussed Apache while I made the request to see what was going on. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: session expiration

2000-11-21 Thread Steve van der Burg
end the right cookie), the new cookie simply overwrites the old one, and the new session becomes the "allowed" one. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED] -

Re: Reverse engineered HTML

2001-05-15 Thread Steve van der Burg
>>Does a package exist that will read an HTML document and generate an = >>Apache::Registry cgi script? Even better if it accepts an

Re: AuthCookie access denied messages

2001-08-20 Thread Steve van der Burg
you now have a chance to set other environment variables. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread Steve van der Burg
error; $error = "Authentication error. Please try again." if $reason =~ /bad/; $error = "Your session has expired. Please reauthenticate." if $reason =~ /bad/ && $detail =~ /expire/; # Now interpolate $error into the HTML we send to the browser my $form = < ... $error ... I hope that these code snippets are enough to get you started. ...Steve -- Steve van der Burg Information Services London Health Sciences Centre (519) 685-8300 ext 35559 [EMAIL PROTECTED]