Re: Determining when a cached item is out of date

2003-01-16 Thread Christopher L. Everett
Perrin Harkins wrote: Christopher L. Everett wrote: But I haven't been able to wrap my skull around knowing when the data in Mysql is fresher than what is in the cache without doing a major portion of the work needed to generate that web page to begin with. There are three ways to h

Determining when a cached item is out of date

2003-01-16 Thread Christopher L. Everett
w, maybe my Prussian Perfection gene has taken over again and wants a bigger win than I need to get ... -- Christopher L. Everett Chief Technology Officer The Medical Banner Exchange Physicians Employment on the Internet

Re: OSCON ideas - more talk ideas

2003-01-14 Thread Christopher L. Everett
e::PageKit -- Christopher L. Everett Chief Technology Officer The Medical Banner Exchange Physicians Employment on the Internet

mod_proxy problems

2002-05-02 Thread Christopher L. Everett
erver? Christopher L. Everett

Weird IE cookie behaviour

2001-08-05 Thread Christopher L. Everett
Hello, I've gotten Apache::AuthCookie to run against Netscape and Mozilla browsers. However, when I try to get it to work with IE with prompting enabled for accepting cookies, I never get prompted to accept a cookie, so it appears that the browser is refusing to acknowlegde that the cookie

SSL Certificate Distingushed Name size in bytes

2001-07-18 Thread Christopher L. Everett
Hello, This is slightly off topic, but I can't find a firm specification anywhere on the Internet that says how big a X.500 Distinguished Name could be. I've set up MySQL to have fields cert_subject_dn and cert_issuer_dn as char(255) not null. But I'm wondering if these things could get lon

SSL and thin/fat server setups.

2001-07-01 Thread Christopher L. Everett
Hello all, I've been running apache+mod_perl servers with apache+mod_ssl front-ends, and been quite happy with this type of setup for quite some time. Now I need to use SSL certificates for authenticating users of an online database. It seems like there's no way to get the SSL information th

SSL and thin/fat server setups.

2001-07-01 Thread Christopher L. Everett
Hello all, I've been running apache+mod_perl servers with apache+mod_ssl front-ends, and been quite happy with this type of setup for quite some time. Now I need to use SSL certificates for authenticating users of an online database. It seems like there's no way to get the SSL information th

Apache::Session problems, film at 11:00 ...

2001-04-28 Thread Christopher L. Everett
All: I'm getting very odd behavior out of Apache::Session, with serious problems using both the MySQL and File variants. Yes, I know I've come here with this problem before. Sigh. I even fixed it, although it was one of those things where I didn't quite know why it started working. Anyway, i

Re: Optimizing memory use of modperl servlets

2001-04-07 Thread Christopher L. Everett
Why not store all that static information using Cache::File? --Christopher Everett

Re: mirroring data across a server cluster

2001-04-03 Thread Christopher L. Everett
Paul Cotter wrote: > [OT] - but... I disagree somewhat about OT; I see your point but, I want to use this class specifically in mod_perl handlers. Also, clustered servers are definitely on topic, I think. > Do not throw out database replication as a solution. I remember a previous discussion

mirroring data across a server cluster

2001-04-01 Thread Christopher L. Everett
This is important when clustering for redundancy purposes, I'm trying to address 2 issues: A. Avoiding a single point of failure associated with a having a central repository for the data, such as a NFS share or a single database server. B. Avoiding the overhead from using heavyweight to

Re: Apache::Session problems

2001-03-29 Thread Christopher L. Everett
Cees Hek wrote: > > On Mon, 26 Mar 2001, Christopher L. Everett,,, wrote: > > > Apache::Session::MySQL won't save session state. > > Apache::Session::File returns the following error: > > > > Insecure dependency in open while running with -T switch at &g

Apache::Session problems

2001-03-26 Thread Christopher L. Everett,,,
Apache::Session::MySQL won't save session state. Apache::Session::File returns the following error: Insecure dependency in open while running with -T switch at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session/Lock/File.pm line 40. here's the code in question: sub put_or_del_session { my ($

Re: mod_perl segfault

2001-02-17 Thread Christopher L. Everett
Doug MacEachern wrote: > ... it would probably be worth your while to try 5.6.1-trial1. Where does one download that? I have those in my logs, one more bug to kill. Someday, I'll go 24 hours without adding to my error logs, but that day won't happen too soon ... --Christopher Everett

Re: Help: Can't use string ("Exchange::Account::My") as a HASH ref while "strict refs" in use trying to use instance variables in my handler

2001-02-06 Thread Christopher L. Everett
> Anyway, what you should do is create a constructor: > > sub new { > my $class = shift; > my $self {@_}; > bless $self, $class; > return $self; > } You mean like this code segment that I included in my original post just below the handler code :) sub init { my $invocant = shift; my

Help: Can't use string ("Exchange::Account::My") as a HASH ref while "strict refs" in use trying to use instance variables in my handler

2001-02-06 Thread Christopher L. Everett
This is my code: ## ## Exchange::Account::My - Account Admin module for the Banner Exchange ## package Exchange::Account::My; use strict; use Apache; use Apache::Request; use Apache::Constants qw( :common REDIRECT ); use Apache::Cookie; use DBI; use Data::Dumper; use MD5; my $debug_level = 3;

Repost with typos corrected--Instance variable inheritance: is it just me or am I doing something dumb?]

2001-01-29 Thread Christopher L. Everett
Sorry about that. It was 3 AM after 12 hours beating my brains out. I guess I didn't have any left. Check these modules: package simian; use fields qw (name); use strict; #very important! use Apache; use Apache::Request; use Apache::Constants qw(:common); sub new { my $type = shift; my si

Instance variable inheritance: is it just me or am I doing something dumb?

2001-01-28 Thread Christopher L. Everett
Check these modules: package simian; use fields qw (name); use strict; #very important! use Apache; use Apache::Request; use Apache::Constants qw(:common); sub new { my $type = shift; my class1 $self = fields::new(ref $type || $type); $self->{name} = 'Jane'; return $self->{name}; #

Text::Template and passing in variables; going bug nuts!

2001-01-25 Thread Christopher L. Everett
Hello: I have a class that I wrote to provide support for multi-form database applications. To use it, I subclass it into something like Exchange::Admin. Now all the session cookie and state data code I need happens in the background. Now, I want to extend MyApp::Framework with Text::Templa

dir_config at startup: I know what doesn't work, so what does?

2001-01-21 Thread Christopher L. Everett
All: I want to specify things like MySQL login info, names of tables containing user login information. I'd like to do it by putting it all into a class variable at server startup, using my startup.pl: my $Account_Interface = $Exchange::MyAccount->init; Then inside Exchange::MyAccount::init,

Apache::AuthTicket

2000-12-04 Thread Christopher L. Everett
All: I really hate to bother you yet again, but I'm still unable to make Apache::AuthTicket work for me. I realize you're all busy, and you're dealing with deadlines just as I am, but I thought I'd take one last shot at asking for help. I tried another tack, using Apache::TicketAccess from

Re: sending & receiving cookies through the light front end

2000-11-29 Thread Christopher L. Everett
"Christopher L. Everett" wrote: > > This is the way I have it now: > > 1) set up IP aliases for the loopback adapter like so: > > ifconfig lo:0 192.168.0.1 netmask 255.255.255.0 > ifconfig lo:1 192.168.0.2 netmask 255.255.255.0 > ifconfig lo:2 192.16

Re: sending & receiving cookies through the light front end

2000-11-29 Thread Christopher L. Everett
Vivek Khera wrote: > > >>>>> "CLE" == Christopher L Everett <[EMAIL PROTECTED]> writes: > > CLE> 2) If 1 above is "yes", since the cookie was intended for a > CLE>.baz.org server, won't the perl.foo.org Apache drop the >

sending & receiving cookies through the light front end

2000-11-29 Thread Christopher L. Everett
Hi: Lets say I wanted to send a cookie from mod_perl out through my light front end. Say I set the domain of the cookie to ".baz.org", and I have ProxyPass and ProxyPassReverse directives in the httpd-lite.conf like this. ServerName www.baz.org ProxyPass/bar/ http://localhost:808

Still need help w/ Apache::AuthTicket

2000-11-26 Thread Christopher L. Everett
keep the cookie from being sent? --Christopher Christopher L. Everett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Need help with Apache::AuthTicket

2000-11-25 Thread Christopher L. Everett
In the docs for Apache::AuthTicket it says you need to specify PerlSetVar FooTicketLoginHandler /foologin PerlSetVar FooLoginScript/foologinform and then you need to add AuthType Apache::AuthTicket AuthName Foo SetHandler perl-script PerlHandler Apache::AuthTicket->login A

Re: how to really bang on a script?

2000-11-01 Thread Christopher L. Everett
Perrin Harkins wrote: > > On Sat, 28 Oct 2000, Matthew Byng-Maddick wrote: > > > On Sat, 28 Oct 2000, Matt Sergeant wrote: > > > exactly the same thing (changing server logs into a benchmark tool) at > > > ApacheCon, only I can't for the life of me remember who it was. > > > > Theo, during the m

Re: mod_perl on specific scripts

2000-11-01 Thread Christopher L. Everett
he request gets passed back, the proper PerlHandler gets called, and life goes on. I admit that I've deliberately avoided learning mod_rewrite; I took one look at it and said "I'm doing something else!". So I set up all my sites to avoid using it. God help me if I ever really _have_ to use it, though :) --Christopher Christopher L. Everett [EMAIL PROTECTED]

Re: how to really bang on a script?

2000-10-30 Thread Christopher L. Everett
Adi wrote: > > "Christopher L. Everett" wrote: > > > > Adi wrote: > > > > > > martin langhoff wrote: > > > > > > > > Chris, > > > > > > > > i'd bet my head a few months ago someone announ

Re: how to really bang on a script?

2000-10-29 Thread Christopher L. Everett
. Also the code is a little bit mystifying to me in that the last line in the execute method, "return $self->ab;" is the only mention of the class method "ab" in the entire file. Obviously I have _much, much_ more to learn ... :) --Christopher Christopher L. Everett [EMAIL PROTECTED]

Re: how to really bang on a script?

2000-10-27 Thread Christopher L. Everett
"G.W. Haywood" wrote: > > Hi there, > > On Fri, 27 Oct 2000, Christopher L. Everett wrote: > > > > > I need to prove to myself and my marketing guy that my script has > > certain statistical properties, not the least of which is the > > questio

how to really bang on a script?

2000-10-27 Thread Christopher L. Everett
Hello All: I've written some mod_perl scripts that need testing over a million hits or so before I deploy it. I need to prove to myself and my marketing guy that my script has certain statistical properties, not the least of which is the question of whether my activity logs match what actual