Hi!

I have problem with index files for directories not being read under
mod_perl. According to mod_perl guide this happened for those who
"declared mod_perl configuration inside a <Directory> section for all
files matching to *.pl. The problem has gone
away after placing the usage of mod_perl in a <File>- section."

This is not true for me. My configuration is

<Directory /doc/root>
........
  PerlAuthenHandler        Apache::MyAuth::authen_handler
.........
</Directory>

Everything works fine except for retrieving index files for
directories. Requests for http://my.site.com/any/dir/
end up with message "you don't have permission to access
/any/dir/ on this server" and line in error log
"Directory index forbidden by rule: /proj/Web/94dec/any/dir/"

I'm running Apache 1.3.9, mod_perl 1.21 staticaly linked on Linux box.

And unfortunately I can't rewrite my configuration to use <Files ...>
And there is DirectoryIndex directive in my configuration files.
And my authentication/authorization handler doesn't care about the URL being
requested, only the require field values.

Anyone has looked into that really?

Andrei

-- 

Reply via email to