Re: [OTish] Version Control?

2002-10-30 Thread Ken Miller
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 file is

Prototypes and $r

2002-09-24 Thread Ken Miller
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

When is Apache-server-log_error available?

2002-09-18 Thread Ken Miller
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.

Apache::Reload -- can't locate main.pm?

2002-08-26 Thread Ken Miller
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

Apache::AuthCookie weirdness

2002-07-11 Thread Ken Miller
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.

Re: mod_perl help

2002-07-11 Thread Ken Miller
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

Re: Can't set multiple cookies?

2002-06-10 Thread Ken Miller
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't set multiple cookies? Yup, just

Can't set multiple cookies?

2002-06-07 Thread Ken Miller
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

RE: Can't set multiple cookies?

2002-06-07 Thread Ken Miller
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] Subject

RE: Doing security for backend applications

2002-06-06 Thread Ken Miller
! -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 requests would

Using apache for access control for third party web apps

2002-06-05 Thread Ken Miller
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

Doing security for backend applications

2002-06-05 Thread Ken Miller
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

Re: AuthzHandler, index.html not being accessed

2002-06-03 Thread Ken Miller
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

Re: AuthzHandler, index.html not being accessed

2002-06-03 Thread Ken Miller
, 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 Subject: Re: AuthzHandler, index.html not being accessed Ken

Re: AuthzHandler, index.html not being accessed

2002-05-30 Thread Ken Miller
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 interesting problem, related to my

How to proxy everything except selected urls?

2002-05-22 Thread Ken Miller
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

different type of login with Apache::AuthCookie?

2002-04-29 Thread Ken Miller
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

Request Limiter

2002-01-14 Thread Ken Miller
There was a module floating around a while back that did request limiting (aDOS 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't

RE: [benchmark] DBI/preload (was Re: [RFC] improving memory mapping thru code exercising)

2000-06-06 Thread Ken Miller
DBD::Oracle and DBI-install_driver( 'Oracle' ); with the same results. It didn't seem to cause any problems, since everything still worked. Something to worry about? Cheers! -klm. --- Ken Miller, Consultant Shetland Software Services

Re: Data structure question

2000-06-06 Thread Ken Miller
= $rs-next ) { # do something } so this enforces the order (due to the order by in the SQL query). This is a bit slower, since next() returns allocated objects, but it works. Cheers! -klm. ------- Ken Miller, Consultant Shetland Software Services Inc.

Fine-grained authorization w. Apache::AuthCookie

2000-05-23 Thread Ken Miller
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. --- Ken Miller, Consultant Shetland Software

Re: Access to userland objects in different phases

2000-05-16 Thread Ken Miller
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.

Access to userland objects in different phases

2000-05-15 Thread Ken Miller
-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.