Mod Perl - Custom Error Pages

2011-10-25 Thread David Hofmann
For a while now my system has error trapped issues the it encounters and printed an error page with a 200 status code. Recently when my web developer started using AJAX, this became a problem, be cause he couldn't check for error codes on the pages. So I updated my error routine to pass proper err

Version Control

2005-07-27 Thread David Hofmann
My company looking at setting up some kind of versioning control software. Currently we have about 10 programs. We use Perl or C depending on the project. I understand just enough to be dangerous with CVS. Which is the current suggestion to use. However before we make use of it I want ask opin

Graphics / Pie Charts

2005-05-06 Thread David Hofmann
In order to provided stat data on my companies website my boss has asked me to write a program that pulls stat data from our database and display it on a page in graphs and pie charts. He'd like the program to hand the abilty to up the minute request, so I have to generate them on the fly. The

Error on Apache::Request install

2004-08-21 Thread David Hofmann
I'm attempting to install: JOESUF/libapreq2-2.03_04-dev.tar.gz I have Apache 2 and Mod Perl 2 already install though someone else installed them for me. ./configure: line 1: apxs: command not found ./configure: line 1: apxs: command not found ./configure: line 1: apxs: command not found ./configu

Re: Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I was using this system and exporting the results to %in so that I could use $in{VAR} in my program. Which allows me to do $temp= "BOB"; print "$temp = $in{$temp}\n"; To my knowledge, which may be lacking considering I just recently started playing with refrences, if I use option 1 or 2 I would

Apache::Request multivalued parameters

2004-08-19 Thread David Hofmann
I have a form where several of the in hidden fields are named the same thing with diffrent values. With CGI.pm the I can use %in = $readquery->Vars; to put everything in a hash. Then I break the values base on \0. What the best way to do this with Apache::Request, and how does it handle multiv

Re: Apache::DBI Connection Lost

2004-08-11 Thread David Hofmann
Just tried it, still has the same problem. David From: Perrin Harkins <[EMAIL PROTECTED]> To: David Hofmann <[EMAIL PROTECTED]> CC: Modperl List <[EMAIL PROTECTED]> Subject: Re: Apache::DBI Connection Lost Date: Wed, 11 Aug 2004 12:43:59 -0400 On Wed, 2004-08-11 at 10:01, D

Apache::DBI Connection Lost

2004-08-11 Thread David Hofmann
why Apache::DBI won't reconnect ? David Hofmann --- My Apache Startup Script --- # make sure we are in a sane environment. $ENV{MOD_PERL} or die "not running under mod_perl!"; use strict; use Carp (); use Apache::DBI (); DBI->install_driver("Pg"); # $Apache::DBI::D

RE: Apache::Request Multivalues

2004-07-09 Thread David Hofmann
something that proably make this far easier. David From: "Kreimendahl, Chad J" <[EMAIL PROTECTED]> To: "David Hofmann" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: Apache::Request Multivalues Date: Fri, 9 Jul 2004 10:05:22 -0500 Should return as an arr

Apache::Request Multivalues

2004-07-09 Thread David Hofmann
In CGI.pm you can use: %params = $q->Vars; To get the incoming form data and key words. Multivalued parameters are returned as a packed string, separated by the "\0" (null) character. How do you get multivalue data in Apache::Request? __

Apache::Request

2004-06-15 Thread David Hofmann
I'm currently in the process of switching from Mod Perl 1.26 to 2.0. One of the programs I use a lot is Apache:Request. Upon attempting to install it from CPAN I found that it only supports up to mod_perl version 1.99. I see that there a development version. Is there a stable version that works

Apache::Request

2004-06-15 Thread David Hofmann
I'm currently in the process of switching from Mod Perl 1.26 to 2.0. One of the programs I use a lot is Apache:Request. Upon attempting to install it from CPAN I found that it only supports up to mod_perl version 1.99. I see that there a development version. Is there a stable version that works

Re: Apache::Session::Postgres Commit on ??

2004-04-14 Thread David Hofmann
hrough the module in the morning when I get up if no one comes up with anything before. David Very tired and fustrated programer... Someday it's just best to not touch the keyboard. From: Geoffrey Young <[EMAIL PROTECTED]> To: David Hofmann <[EMAIL PROTECTED]> CC: [EMAIL PRO

Apache::Session::Postgres Commit on ??

2004-04-14 Thread David Hofmann
For some reason I keep getting a commit error. commit ineffective with AutoCommit enabled at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Store/Postgres.pm line 92. Here how I'm tieing, I have tried upper and lowercase on the commit: unless ( eval { tie %sessionHash, 'Apache::Session::Postgres

Connections

2004-04-01 Thread David Hofmann
Currently I'm in the process of converting from Perl to Mod Perl. My server is Redhat Running Apache 1.3.27, Mod Perl 1.26, and Postgre SQL 7.2.4. I have about 31-35 active process running during the busy hours. Our system use Perl to generate dynamic pages via the postgre database. 90% of our