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]
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]
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]
>>>>>> 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
>>>
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
>>>>>> 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
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
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]
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]
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
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]
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
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]
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]
-
>>Does a package exist that will read an HTML document and generate an =
>>Apache::Registry cgi script? Even better if it accepts an
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]
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]
17 matches
Mail list logo