Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 52098 invoked by uid 500); 13 Aug 2002 03:24:45 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 52085 invoked from network); 13 Aug 2002 03:24:44 -0000 Date: Mon, 12 Aug 2002 23:28:33 -0400 From: Cameron McBride To: Adrian Ghizaru Cc: Embperl Subject: Re: DirectoryIndex file in Embperl::Object, a quick solution Message-ID: <20020813032833.GA11007@localhost> Mail-Followup-To: Adrian Ghizaru , Embperl References: <00ec01c247eb$84b77f20$0d04a8c0@tekmachine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00ec01c247eb$84b77f20$0d04a8c0@tekmachine> User-Agent: Mutt/1.3.27i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > A few days back I came to you with a problem concerning > Embperl::Object not using Apache's DirectoryIndex directive. Gerald > Richter unfortunately informed me it is indeed a known issue and will > be worked on. He also suggested a workaround. In case you missed it, I quote: >> Yes, that a known (at least to me) problem. Workaround is to let >> Embperl::Object handle only the files you need, so Apache gets a >> chance to pick up your index file. To do this add something like >> >> EMBPERL_URIMATCH "\.htm.?|\.epl$" > Just for reference, in case people may need this here > or there, here is a simple workaround: I guess there is MTOWTDI. ;-) I do, however, think that setting EMBPERL_URIMATCH is a bit cleaner. Basically it restricts Embperl to only act on the pages that end in '.htm(l)' and '.epl'. If you are happy with your solution, then all is well and good. I just thought I would reinterate the solution that Gerald suggested as it has worked fantasitically for me. Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org