Re: unrecognised attribute at /usr/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 227

2005-11-10 Thread Kevin A. McGrail
After much research, I believe I have the problem fixed and I found the problem to be two-fold: First, I had a mysql_config for v3.23.57 in the path Second, I had not updated by DBD for mySQL. Fixing the first allowed me to compile and install the second. Regards, KAM

Testing problem

2005-11-10 Thread Brenda Washington
I'm getting this error message when I run a t/TEST. Does anyone know why I'm getting this error? Starting program: /usr/local/apache2/bin/httpd -D ONE_PROCESS -d /opt/apache/mod_perl-2.0.1/t -f /opt/apache/mod_perl-2.0.1/t/conf/httpd.conf -D APACHE2 [Thu Nov 10 14:29:53 2005] [info] 6 Apach

Re: unrecognised attribute at /usr/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 227

2005-11-10 Thread Philip M. Gollucci
Kevin A. McGrail wrote: Anyone ever seen this error before with Apache::DBI and Apache::AuthDBI? This is on a source-compiled apache v1 server and mysql 4.1.13. I'm checking through lots of things now to see where it might have gone wrong but hoping for some feedback. Regards, KAM What is you

unrecognised attribute at /usr/local/lib/perl5/site_perl/5.8.0/Apache/DBI.pm line 227

2005-11-10 Thread Kevin A. McGrail
Anyone ever seen this error before with Apache::DBI and Apache::AuthDBI? This is on a source-compiled apache v1 server and mysql 4.1.13. I'm checking through lots of things now to see where it might have gone wrong but hoping for some feedback. Regards, KAM

Re: @CustomLog and @LogFormat directives

2005-11-10 Thread Brian Phillips
Unfortunately I'm not using Apache2... :-( Any ideas for Apache 1.3?On 10 Nov 2005 11:37:50 -0800, Randal L. Schwartz wrote: > "Brian" == Brian Phillips < [EMAIL PROTECTED]> writes:Brian> Even using Apache->httpd_conf with the exact line from our regularBrian> httpd.

Re: @CustomLog and @LogFormat directives

2005-11-10 Thread Frank Wiles
On Thu, 10 Nov 2005 11:54:19 -0600 Brian Phillips <[EMAIL PROTECTED]> wrote: > I'd like to be able to do something like this: > > @LogFormat = ( > '"%h %l %u %t \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\"" > combined'], > '"%h %l %u %t \\"%r\\" %>s %b" common', > '"%{Referer}i -> %

Re: @CustomLog and @LogFormat directives

2005-11-10 Thread Randal L. Schwartz
> "Brian" == Brian Phillips <[EMAIL PROTECTED]> writes: Brian> Even using Apache->httpd_conf with the exact line from our regular Brian> httpd.conf hasn't worked: Brian> Apache-> httpd_conf(q{ Brian> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" Brian> combined Bri

Re: Authentication

2005-11-10 Thread John Wittkoski
Martin Moss wrote on 11/10/05, 1:25 PM: > Although saying that I was trying to do a set_handlers > for the contentphase... which was being completely > ignored by apache... Marty, Not sure it's related, but I had what sounds like a similar problem with an authorization handler. I wanted to r

Re: Authentication

2005-11-10 Thread John ORourke
Hi Marty, I must be missing something here... If I understand, you're timing out a login but if it does time out, you're automatically re-authenticating without user interaction? Why not just take away the login timeout or make it longer? John Martin Moss wrote: I'll have a think about i

Re: Authentication

2005-11-10 Thread Martin Moss
You wouldn't believe the problems I've had with AccessHandlers... Although saying that I was trying to do a set_handlers for the contentphase... which was being completely ignored by apache... I'll have a think about it... But the idea is to make the authentication be completely invisible to the

Re: [mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Abul Rahman
the mod_perl 1.99 and the perl was 'factory' install from redhat i removed 1.99 and installed 2.02 like you said now when i try to start the webserver it complains it cannot find Apache.pm a.r. On 11/10/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-11-10 at 11:27 -0500, Abul Rahm

Re: Authentication

2005-11-10 Thread John ORourke
My fault guys, not looking up the numbers - Martin is your admin complaining about too many FORBIDDENs or REDIRECTs? The only thing I can add is that I'd recommend not using the authentication pages/handler to redirect - make yourself an Access phase (eg. "if no valid cookie, redirect to HTTPS

@CustomLog and @LogFormat directives

2005-11-10 Thread Brian Phillips
I've been attempting to turn my httpd.conf file into a perl module.  Overall, it seems pretty straightforward but I've had trouble with the CustomLog and LogFormat directives.  I can get them to work as scalars but not as arrays.  For instance, the following works (it took me awhile to get anything

Re: [mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Perrin Harkins
On Thu, 2005-11-10 at 11:27 -0500, Abul Rahman wrote: > one more quick question - i've only had one version of perl (5.8.5) on this > box > > how would the module have compiled with a different version? Well, did you compile mod_perl yourself? It sounds like you installed someone else's binary.

Re: Authentication

2005-11-10 Thread Perrin Harkins
On Thu, 2005-11-10 at 17:19 +, Martin Moss wrote: > So an Authen Handler can return a REDIRECT? > > I use a 403 custom repsonse which is a self submitting > page (with non javascript handling)... By doing so it > prevent's any of the authentication pages appearing in > IE's back button on the

Re: Authentication

2005-11-10 Thread Martin Moss
So an Authen Handler can return a REDIRECT? I use a 403 custom repsonse which is a self submitting page (with non javascript handling)... By doing so it prevent's any of the authentication pages appearing in IE's back button on the browser... Marty --- Perrin Harkins <[EMAIL PROTECTED]> wrot

Re: Authentication

2005-11-10 Thread Perrin Harkins
On Thu, 2005-11-10 at 16:20 +, John ORourke wrote: > You can avoid some redirection by having a non-HTTPS form which submits > to the HTTPS login page (although users might worry, no padlock icon). > Otherwise it's perfectly reasonable to redirect to a secure login. On > successful login s

Re: [mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Abul Rahman
one more quick question - i've only had one version of perl (5.8.5) on this box how would the module have compiled with a different version? also - is there any command i can type to see what version of perl the mod_perl was compiled with? a.r. On 11/10/05, Perrin Harkins <[EMAIL PROTECTED]> wr

Re: Authentication

2005-11-10 Thread John ORourke
Martin, You can avoid some redirection by having a non-HTTPS form which submits to the HTTPS login page (although users might worry, no padlock icon). Otherwise it's perfectly reasonable to redirect to a secure login. On successful login simple 403 the user back to the page they wanted. Th

Re: [mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Abul Rahman
thanks - will try - i don't think redhat has an rpm for 2.02 so will pro'lly need to download and make from apache a.r. On 11/10/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-11-10 at 09:59 -0500, Abul Rahman wrote: > > > > > > RedHat ES 4 > > > Apache 2.0.52 > > > and > > > Mod_Pe

Re: [mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Perrin Harkins
On Thu, 2005-11-10 at 09:59 -0500, Abul Rahman wrote: > > > > RedHat ES 4 > > Apache 2.0.52 > > and > > Mod_Perl 1.99 Upgrade that, please. 2.0.2 is the current version. > > i have a very simple script (the contents are irrelevant but to say it > > works) - when i add "use Time::HiRes" i get the

Authentication

2005-11-10 Thread Martin Moss
All, During the Authentication phase, Any custom responses that need to be sent back to a user, MUST be sent with FORBIDDEN using custom_repsonse? Under Authentication 200 (OK) simply lets Apache Move on the to the next phase (authz, content etc..)... I have an authen handler which uses cookie

[mp2] Time::HiRes fails to load via mod_perl ?

2005-11-10 Thread Abul Rahman
sorry to resend this in case you all received it, (also forgot to mention that the same cgi mentioned below runs fine from the command line) a.r. > Folks, > > i'm a newbie to mod_perl > actually just did my first install on... > > RedHat ES 4 > Apache 2.0.52 > and > Mod_Perl 1.99 > > i have a ve