All,
I've been hunting the web for mechanisms whereby I can trap errors from my
mod perl objects and report them back to a user nicely, log them AND
possibly send reports back to me.
Before I started hunting I thought it would be a simple process to use the
eval mechanism to run my scripts and th
Thanks Geoffrey.
Marty
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "Martin Moss" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 4:23 PM
Subject: Re: Can't call method "is_initi
Ok, that makes sense, thank you:-)
But 'What' should I return, is $r->main the right thing to return?
> > unless ($r->is_main )
> > {
> > print STDERR "Apache::Request is not Main, Getting Main\n";
> > print STDERR Dumper($r);
> > $r=$r->main;
> > print STDERR "Main Apache::Req
All,
I'm having some problems with Apache giving me grief, or most probably me
getting my knickers in a complete twist.
I get the following error:-
Can't call method "is_initial_req" without a package or object reference at
.
It seems to happen when my URL ends like this:-
/somepath/16
Thanks,
I may well have found a solution within javascript, which is then user end
calculated, so more efficient and reliable,
But thanks I'll remember GD for later use:-)
Marty
- Original Message -
From: "Ken Y. Clark" <[EMAIL PROTECTED]>
To: "Martin Mo
Hi All,
I'm sure this can't be an issue that hasn't been tackled, but I couldn't
find anything in the archives so:-
I'm trying to find a way in which I can calculate the pixel width of a
string in a given font.
I'm doing this to feed a javascript file, so I am also looking at doing this
in javasc
Hi All,
Just to throw a spanner in the works, a little while ago I came across the
following Article on the Net.
http://www.perl.com/pub/a/2002/10/15/radiator.html
>From what I can tell The author of the 'radiator' product claims to have
successfully shipped 'encrypted' code.
I've been pondering
All,
Is there a way to work out what values have been
set using pnotes/notes, So that a cleanup Handler
can dynamically clear the values, rather than only clear ones
pre-programmed?
Marty
All,I'm
looking for some help with understanding how the Apache::Request objectsare
created and destroyed.I have the following params set in my
httpd.confKeepAlive OffPerlChildInitHandler
Bficient::Apache::DBloadWhich as I understand it should mean that an
apache::Request object iscreated f
All,
I'm having issues with conflicts between using Port and Listen directives
for access via LAN and ssh tunnel (or proxy).
Can anyone recommend a mailing list I can post my problem to?
Kind Regards
Marty
"From les Rosbeufs to les Grenuoilles, Standing up to a bully bigger than
you is bravery
Thanks mate,
Will re-examine the drawing board..
Marty
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Martin Moss" <[EMAIL PROTECTED]>
Cc: "Cees Hek" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, F
ially as I could be operating on 100's of
records.
I was using Apache::Session to generate session IDs and allow me to timeout
users etc...
Marty
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Martin Moss" <[EMAIL PROTECTED]>
C
Is Apache::Session::DB_type Faster than Apache::Session::File?
I already use a lot of DB connections and I used Apache::Session::File to
reduce this,
Marty
- Original Message -
From: "Cees Hek" <[EMAIL PROTECTED]>
To: "Martin Moss" <[EMAIL PROTECTED]>
Cc:
All,
Can Anybody see what I'm doing wrong here?
I have the following error :-
[error] Insecure dependency in unlink while running with -T switch at
/usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106.
When I run the following subroutine:-
sub delete_session
{
my $self=shift;
ely not a mod_perl-related problem.
>
> -Fran
>
> > -Original Message-
> > From: Chris Winters [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 26, 2003 8:22 AM
> > To: Martin Moss
> > Cc: Apache mod_perl
> > Subject: Re: Browser do
All,
Not much to go on I know, but has anybody ever had this problem?
When I load one of my webpages the browser never stops loading, e.g. the
page loads ok and I can see and interact with it, but the ie spinning globe
still keeps spinning and the status bar at the bottom of the page still
shows t
Thanks for all your help guys,
Will have a think about it,
Marty
- Original Message -
From: "Randal L. Schwartz" <[EMAIL PROTECTED]>
To: "Perrin Harkins" <[EMAIL PROTECTED]>
Cc: "Andrew Ho" <[EMAIL PROTECTED]>; "Martin Moss"
<[
All,
I was wondering if it is possible to Create a
Handler that points a user at a page with an animated gif saying something like
"Please wait", and then when my other handlers have finished display the
page results I want from my mod perl handlers.
I guess in a nutshell I'm wondering if
ld suggest that reading one post out of context, and then assuming I'm
just randomly posting a mysql question 'out of the blue', is a little naive.
Marty
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Nick Tonkin" <[E
-
From: "Joe Palladino" <[EMAIL PROTECTED]>
To: "Cees Hek" <[EMAIL PROTECTED]>; "Martin Moss"
<[EMAIL PROTECTED]>
Cc: "Modperl" <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 3:44 PM
Subject: RE: mysql password encryption
>
slightly off topic,
but is it possible to grant permissions to a user on multiple tables in one
sql statement in mysql?
>From mysql.com:-
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON bankaccount.*
-> TO custom@localhost
-> IDENTIFIED BY 'stupid';
can I do this
ON b
All,
I wish to let a user use the same password for them to authenticate to a
multitude of mysql Databases AND to authenticate themselves on my modperl
site.
the problem I have is that I store the password in the database as a
Password field. However when I wish to use DBI to connect to another my
All,
sorry for the trouble, I finally worked out the problem,
I didn't have libproxy.so loaded on my 192.168.0.10 machine and the
directive
ProxyRequests On
set.
Now that I do it works fine,
Regards
Marty
- Original Message -
From: "Martin Moss" <[EMAIL PROTE
All,
I have a configuration issue, and I was wondering if anybody has had the
same problem?
I have an adsl gateway (192.168.0.1 & external IP) and a seperate webserver
(192.168.0.10) on my home network.
I want to allow a user on the internet access to my webserver.
I have once before configured tt
All,
How would I go about identifying if a user logs in from 2 different
browsers?
I Have a Session object, but I want to hold data within that session object
that identifies which browser a user is using. So I can confirm that a user
who provides a session key in their cookie, is checked and tha
thanks to everyone,
Geoff's post made me re-examine AuthCookie and I realised I wasn't supposed
to use the get_basic_auth_pw method at all.
Thanks I understand whats going on now.
Cheers
Marty
- Original Message -
From: "Lupe Christoph" <[EMAIL PROTECTED]>
All,
How do I change the behaviour of get_basic_auth_passwd()
I do not wish to have the prompt box appear, I want to have a dynamically
produced login form which when submitted carries out the users previous
command (I have an authentication system which 'times out' a user)
the problem I have i
You are a star!!!
I ammended your syntax slightly
and did this:-
my $sub_string='sub { '.$handler_bf.'($r) };';
$r->push_handlers(PerlHandler => eval $sub_string);
Otherwise The handler routine of my handler module doesn't get passed the
Apache object as it's first argument.
It seems to work
$varname=$1; die "$varname is
Tainted" if (&_is_tainted($varname));
} else
{ die "Taint Check failed for
$varname\n";
}
$HANDLERS{$untainted_keyname}=$varname; print
STDERR "Added $keyname = $varname\n"; }
}
29 matches
Mail list logo