>But that still doesn't explain why EMBPERL_OBJECT_BASE is being ignored.
I think it's because the files section is picked up by Apache, while the location isn't. Moveing the Embperl_Object_Base to the files section and deleteing all but the directoryindex from the location section, should solve the problem
No, that didn't help. But what did work was to move it completely outside any <File> or <Directory>. See my revised config, below. Yippee!
> And the DirectoryIndex directive is too, sinceit doesn't try to access /lottery/index.epl when I request just /lottery/. (I checked this with strace, also).
That's because embperl will be called before mod_dirindex. The above change should fix this also
This was fixed. Thanks!
AddType text/html .epl
LoadModule embperl_module /usr/lib/perl5/site_perl/5.8.6/i686-linux/auto/Embperl/Embperl.so
PerlModule Embperl
EMBPERL_APPNAME lottery
EMBPERL_SESSION_HANDLER_CLASS no
EMBPERL_OBJECT_BASE hello.epl
EMBPERL_URIMATCH "\.epl$"
<Files *.epl> SetHandler perl-script PerlHandler Embperl::Object Options ExecCGI </Files>
<Location /lottery> DirectoryIndex index.epl index.html index.shtml default.html blocked.html </Location>
-- Dan Wilga [EMAIL PROTECTED] Web Administrator http://www.mtholyoke.edu Mount Holyoke College Tel: 413-538-3027 South Hadley, MA 01075 "Who left the cake out in the rain?"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]