Forum Moderators: phranque
mod_dir initiates subrequests for the resources stated in DirectoryIndex, so you could grab for example these requests in your htaccess, and do something else? At least that's what you might be able to do with the root directory, but in the case of subdirectories this might be even easier?
Just thinking loud, but if you explain your situation better, maybe someone can offer you an alternative way.