Re: DirectoryIndex ignored when using perl-handler

2005-05-24 Thread Thomas Hilbig
--- Geoffrey Young <[EMAIL PROTECTED]> wrote: > this needs to be fixed. those constants are explicitly exported in > Fixup.pm, so if you're getting those warnings > something is wrong. the > pragmata you commented out is there for your > protection - if you need to > comment it out something else

Re: DirectoryIndex ignored when using perl-handler

2005-05-23 Thread Geoffrey Young
> My/Fixup.pm package exactly as > http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2 > > Note 1: > - All references to Apache2 changed to Apache (fresh > install of Fedora Core 3 & one up2date > (httpd is 2.0.52 and mp2 is 1.99_16-3) > - no complaints > > Problem 1: >

Re: DirectoryIndex ignored when using perl-handler

2005-05-22 Thread Thomas Hilbig
--- Geoffrey Young <[EMAIL PROTECTED]> wrote: > since you're new to mod_perl it's probably not > obvious from that thread what > the solution is. > > > http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2 > > the code at the bottom of that link (My::Fixup) > needs to be enabled

Re: DirectoryIndex ignored when using perl-handler

2005-05-20 Thread Geoffrey Young
Thomas Hilbig wrote: > I really apologize for resurrecting a thread that was > put to rest almost a month ago. I am just running > into this problem now, and I don't quite understand > what the fix is. I'm very new to writing a MP > handler. since you're new to mod_perl it's probably not obvio

Re: DirectoryIndex ignored when using perl-handler

2005-05-20 Thread Thomas Hilbig
I really apologize for resurrecting a thread that was put to rest almost a month ago. I am just running into this problem now, and I don't quite understand what the fix is. I'm very new to writing a MP handler. I am trying to write a (yet another) authentication handler for a directory that is t

Re: DirectoryIndex ignored when using perl-handler

2005-04-27 Thread Geoffrey Young
for the sake of the archives, william reported that the below fixup handler is "working like a champ" so I guess this is a workable solution for anyone in the same situation. and for anyone listening, rolling up a test tarball like william did was outstanding - I was more than happy (ecstatic, ac

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
On Mon, Apr 25, 2005 at 01:51:23PM -0400, Geoffrey Young wrote: > that code is essentially right. well, except that the above example sets > $r->handler instead of comparing it. adding the code at the bottom of this > mail essentially makes your tests pass, except that I think your last test > is

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread Geoffrey Young
>>SetHandler is forcing the handler to be mod_perl, but really mod_dir needs >>to step in and handle the / -> DirectoryIndex conversion. so... what I would >>do is alter that fixup handler to do something like this >> >> if ($r->handler('perl-script') && -d $r->filename && $r->is_initial_req) { >

Re: DirectoryIndex ignored when using perl-handler

2005-04-25 Thread William McKee
On Wed, Apr 13, 2005 at 08:21:46PM -0400, Geoffrey Young wrote: > hmm. I'm sorry I didn't get back to you today, but I had something > unexpected come up. I'll be rolling rc5 tomorrow, but if you want to create > a bug tarball for me I'll look into it with whatever resources I can > scrounge up.

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread Geoffrey Young
William McKee wrote: > On Tue, Apr 12, 2005 at 08:33:59PM -0400, Geoffrey Young wrote: > >>for a good discussion, and a fixup handler that will likely fix your >>problem. you can also search the archives for the Apache::Dir discussion >>that (IIRC) yielded that document. > > > Geoff, > > I t

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
On Tue, Apr 12, 2005 at 08:33:59PM -0400, Geoffrey Young wrote: > for a good discussion, and a fixup handler that will likely fix your > problem. you can also search the archives for the Apache::Dir discussion > that (IIRC) yielded that document. Geoff, I tried using Apache::Dir. The current ver

Re: DirectoryIndex ignored when using perl-handler

2005-04-13 Thread William McKee
On Tue, Apr 12, 2005 at 08:33:59PM -0400, Geoffrey Young wrote: > yes, because mp1 is configured to handle requests of type DIR_MAGIC_TYPE > whereas mp2 is not. this is a bug or a feature, depending on whether you > think mp1 was correct or not :) OK, that makes sense. I was beginning to worry ab

Re: DirectoryIndex ignored when using perl-handler

2005-04-12 Thread Geoffrey Young
William McKee wrote: > Hi, > > This message is probably coming at a bad time with the recent release of > RC5. I'm still in the process of migrating from mp1 to mp2-RC4 at the > moment. I have a directory which is setup to be served via > ModPerl::Registry. When I try to open the path with only