Re: Using PerlTypeHandler and PerlHandler for the same Location

2001-09-09 Thread Doug MacEachern
On Wed, 8 Aug 2001, Jay Buffington wrote: Hi, In my httpd.conf file I have: Location /foo/ SetHandler perl-script PerlTypeHandler foo PerlHandler bar /Location and then in the foo and bar files I have: --file foo.pm- package foo; sub handler {

Using PerlTypeHandler and PerlHandler for the same Location

2001-08-08 Thread Jay Buffington
Hi, In my httpd.conf file I have: Location /foo/ SetHandler perl-script PerlTypeHandler foo PerlHandler bar /Location and then in the foo and bar files I have: --file foo.pm- package foo; sub handler { my $r = shift; $r-log_error(I'm in foo.); } 1;