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

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.

  • Comment on •Re: Re: •Re: "proper" mod_perl config directives

Replies are listed 'Best First'.
Re: •Re: Re: •Re: "proper" mod_perl config directives
by geektron (Curate) on Sep 03, 2003 at 01:15 UTC
    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.