> Hey Jim --
>
> > Also, Randal Schwartz wrote about cvs is a slightly more general
setting:
> >
> > http://www.linux-mag.com/2002-07/perl_01.html
>
>
> The system we use goes a bit beyond even what Randal describes (although,
he
> is on a similar track).
>
> In a nutshell, the Apache "httpd.conf"
Got a phone call yesterday from a user who was complaining that every few
times a link was clicked on they were getting an "Internal Server Error".
They could click back, try again, and be successful. Further investigation
led me to find that one of the instances of my back end server was always
I'd like to write some status messages to the error_log during server
startup. So, I tried
Apache->server->log_error( "..." )
but it doesn't work. This works fine in the child processes. Is the log
file not ready to write to during server startup? Printing to STDERR does
not work either.
I've been successfully using Apache::Reload for a few weeks now. However, I
installed it on my home development system, and I'm getting this error when
accessing a module that contains 'use Apache::Reload':
[Mon Aug 26 09:59:12 2002] [error] Can't locate main.pm in @INC (@INC
contains: ... at /
I had this same problem with installing some precompiled packages from
sunfreeware, such as libdb. My only recommendation is to scrap the
installed packages for anything related to perl, including perl itself.
And note that even though it says that Perl was compiled with GCC, the
options selected
I'm experiencing a really strange problem with Apache::AuthCookie and
Internet Explorer. Every now and then when I try and access a protected
URL, I never see the login page.
If I close the window, and open a new one, it works just fine. This is the
case even if there are other windows open. I
Last confirmation: 1.3.25-dev does indeed work fine.
I've got cookies flying everywhere!
Thanks guys!
-klm.
- Original Message -
From: "Ken Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 07, 2002 3:45 PM
Subject: RE: Can'
Yup, just confirmed it. 1.3.20 works fine, but .24 is busted.
I'll try the latest CVS version.
Thanks guys!
-klm.
-Original Message-
From: Balazs Rauznitz [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 2:48 PM
To: Dave Rolsky
Cc: Ken Miller; [EMAIL PROTECTED]
Su
Ok, so continuing down the path of a single sign-on system, I've completed a
rough framework, and it works fine. However, I thought it might be nice to
segregate the various bits of information into different cookies.
Unfortunately, setting multiple cookies doesn't seem to be working. Here
are t
heers!
-klm.
-Original Message-
From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 4:18 PM
To: Ken Miller
Cc: Modperl
Subject: Re: Doing security for backend applications
On Tue, 4 Jun 2002, Ken Miller wrote:
[...]
> So, php application reques
Please ignore this message. My mail client was misconfigured (! in my email
address), and I expected the message to bounce. I sent another message this
morning that was very similar to this one, and now this one shows up. Darn
it!
Cheers!
-klm.
- Original Message -
From: &quo
Let's say I have the following configuration:
1. Front end proxy server (no mod_perl)
2. Back end application server (mod_perl)
3. Back end application server (php)
Now, *all* application requests are passed to the mod_perl server (yes,
including the php requests). Performing security checks fo
The saga continues...
I've been tasked with developing a single-signon environment for a suite of
web applications, some developed in house, and others obtained from third
parties; others are still waiting to be developed. The framework I'm
developing will, when a user signs in, end up setting a
ferencing
index.html, but I'd rather not, since this problem might be masking a
greater problem.
-klm.
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Ken Miller" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 1:50 PM
Sub
> A note: since cookie is involved, why not to implement
> all the access/authentication/authurization functions at
> the access control phase using cookie ?
I've got them split out to match the phase in which they'd be invoked.
That, and the fact that the access handler will be invoked everywh
I should also mention this:
Apache/1.3.23 (Unix) mod_perl/1.26
- Original Message -
From: "Ken Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 11:12 AM
Subject: AuthzHandler, index.html not being accessed
> I've got an i
I've got an interesting problem, related to my development of some
Authen/Authz handlers.
I have a directory on which I've installed an Access, Authen, and Authz
handler:
- the Access handler makes sure a cookie exists, and redirects the user to a
login page if it doens't. If the cookie does ex
I the past, when I've setup a proxy/app server configuration, it's always
been to forward certain url's to the app server, with the rest being
processed by the proxy.
However, I need to turn this around. I want to pass everything to the app
server, except for some url's that point at static cont
We currently use Apache::AuthCookie for authentication/authorization, and it
works great. However, we want to make a change to how the login works.
In addition to having Apache::AuthCookie intercept requests for URL's that
require auth/authz, we would like to provide a signon area on the main pa
There was a module floating around a while back that did
request limiting (a DOS preventional tool). I've searched the
archives (unsuccessfully), and I was wondering if anyone knows what the heck I'm
talking about.
I thought it was on Matt Sergeant's web site, but for the life
of me I can
I get this message in my error_log with using Apache::Session::File:
Can't locate object method "close" via package "Apache::Session::File" at
/usr/lib/perl5/site_perl/5.005/Apache/Session/File.pm line 40, chunk 13
Sure enough, there is no close method in Apache::Session::File or
Apache::Sess
At 03:13 AM 6/10/00 +0200, Jure Simsic wrote:
>I'm tryng to use Apache::Session and store a bunch of data into a
>(complex) hash (using FileStore). The weirdest thing, that made me
>banging my head for a while was, that when i first initialised the
>session, everything was stored fine. But after r
rray on the fly, once.
For the site I'm working on, I return a reference to a ResultSet object
which through the next() method returns the next row in the result set:
my $account = $dbs->get_account( "123456789" );
my $rs = $account->get_cards;
while( my $unit = $rs->next
toCommit
TYPE 1
PARENT undef
KIDS 0 (0 active)
IMP_DATA undef in 'DBD::Oracle::dr'
I tried both
use DBD::Oracle
and
DBI->install_driver( 'Oracle' );
with the same results. It didn't seem to cause any problems, sinc
At 11:26 AM 5/23/00 -0500, James G Smith wrote:
>Ken Miller <[EMAIL PROTECTED]> wrote:
>>I'm using Apache::AuthCookie for general authentication/authorization for a
>>site I'm working on. However, there's a requirement for fine-grained
>>authorizatio
ry)
then any other handlers in the chain won't be called. Or is there a way to
override this behaviour?
What's the best way to do this? I can always stuff some code into my main
handler, but that's ugly.
Thanks.
Cheers!
-klm.
-------
t;log_error( "$$: Services object allocated, handle=$dbs" );
}
1;
Perfect! I now have access to my services object everywhere!
Thanks for the point at Class::Singleton. I would have eventually written
my own, but with CPAN, what's the point?
Cheers!
-klm.
---
Ken Miller, Consultant
Shetland Software Services Inc.
::Services->set_options( { ... } );
my $dbs = DB::Services->get_instance;
get_instance() would create the backing object the first time, then
returned the cached object on subsequent calls.
Thoughts?
Cheers!
-klm.
---
Ken Miller, Consultant
Shetland Software Services Inc.
Ok, I'm going a wee bit crazy here. I'm trying to build GTop so I can use
VMonitor to investigate memory usage/etc. under mod_perl. I'm using SuSE
Linux 6.3, with libgtop installed. However, I get this when I try and
build GTop:
BUILD/GTop-0.09> perl Makefile.PL
Checking if your kit is comp
29 matches
Mail list logo