Re: [mp1.99] ErrorDocument

2005-04-13 Thread Geoffrey Young
Jie Gao wrote: > Hi All, > > Can anybody tell me how to get at a directive like "ErrorDocument 403 > /errors.html" set in httpd.conf from within a handler? see $r->custom_response() --Geoff

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

Searches and Redirects

2005-04-13 Thread Jonathan Vanasco
This is an approach in mod_perl question -- not a development/installation question. How do people usually handle searches and redirects? IE - someone searches for something, you process the search, and if there's one record, you redirect them to that record. Except, in that situation, the brows

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: Searches and Redirects

2005-04-13 Thread Perrin Harkins
On Wed, 2005-04-13 at 14:05 -0400, Jonathan Vanasco wrote: > How do people usually handle searches and redirects? > IE - someone searches for something, you process the search, and if > there's one record, you redirect them to that record. > Except, in that situation, the browser 'location' will s

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