Using PerlTypeHandler and PerlHandler for the same Location

2001-08-08 Thread Jay Buffington
the httpd.conf I get only I'm in bar. If I leave the TypeHandler but omit the PerlHandler, and add $r-push_handlers(PerlHandler=\bar::handler); to foo.pm I still only get I'm in foo. I'm using Perl 5.6 and mod_perl 1.25 with apache 1.3.19 Why does this not work as I expected? Thanks. Jay

Using PerlLogHandler to write errors to database

2001-07-16 Thread Jay Buffington
Hi, I want to write a PerlLogHandler to write all errors to a database. The database table will probably look like this: CREATE TABLE error_log ( when DATETIME not null, remotehost VARCHAR (255) not null, virtualhost VARCHAR (255), severity ENUM ('emerg', 'alert', 'crit',

Re: Apache::Upload filehandle

2001-07-13 Thread Jay Buffington
not return the filehandle as blessed (I'm confused why it does this in the first place) and Image::Magick should do a better job checking to see if it has been sent a filehandle. Can this please be fixed in the next release of libapreq? Thanks, Jay Buffington On Thu, Jul 12, 2001 at 10:03:24AM

Apache::Upload filehandle

2001-07-11 Thread Jay Buffington
I'm trying to use image magick to manipulate images that are uploaded via http. To handle the uploaded images I'm using libapreq's Apache::Upload. I wrote the below simple example script to help explain my problem. When an image is uploaded to it I get this error in the apache error log:

returning one instance of an object per request

2001-07-06 Thread Jay Buffington
Hi, I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write the User class in such a way that every time (except the first) a