in reply to •Re: "proper" mod_perl config directives
in thread "proper" mod_perl config directives

creating a bogus index.pl seems to have done the job along with the suggested fix.
  • Comment on Re: •Re: "proper" mod_perl config directives

Replies are listed 'Best First'.
•Re: Re: •Re: "proper" mod_perl config directives
by merlyn (Sage) on Sep 02, 2003 at 22:02 UTC
    Uh, why a bogus index.pl? Isn't your code to handle the directory in there?

    If not, you didn't spell things out very carefully. Do you have a handler that should apply only to directories? If so, it needs to simply decline anything it doesn't want to handle.

    I have an example of that at my mod_perl-enabled Picture handler, In particular, simply return DECLINED if content-type is not DIR_MAGIC_TYPE.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

      yes, the code is there to handle the directory ... more specifically, the whole site is handled by my handler.

      if i don't have some kind of index file in there, i get 403 Forbidden errors. if i put it in there, it works.