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: > > <snip> > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
