Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 55884 invoked by uid 500); 13 Aug 2002 14:37:49 -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 55870 invoked from network); 13 Aug 2002 14:37:49 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Adrian Ghizaru To: embperl@perl.apache.org Subject: Re: DirectoryIndex file in Embperl::Object, a quick solution Date: Tue, 13 Aug 2002 10:38:12 -0400 X-Mailer: KMail [version 1.3.2] References: <00ec01c247eb$84b77f20$0d04a8c0@tekmachine> <20020813032833.GA11007@localhost> In-Reply-To: <20020813032833.GA11007@localhost> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020813143712.VOSD11089.tomts5-srv.bellnexxia.net@there> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Heh, smack me behind the head with a sack of doorknobs, didn't really give too much thought to Gerald's solution, my head read EMBPERL_FILEMATCH (or something like this?) as soon as it saw the "\.htm.?|\.epl$" part. Yeah, cool, now I see what was suggested and I understand it's cleaner :))) Oh well... teaches you to read 2 times before writing anything :) - Adrian. > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org