https://issues.apache.org/bugzilla/show_bug.cgi?id=53929
--- Comment #1 from Joyce Babu <[email protected]> --- I am also experiencing this issue. The issue is caused by the DirectoryIndex directive. mod_dir is not respecting the result of the rewrite execution. If DirectoryIndex is set to disabled, it starts working correctly. Similarly, using SetHandler also resolved the problem. Unfortunately, since both the directives are inherited by files/sub directories, it is not a proper solution. I was able to work around it by setting an environment variable using the mod_rewrite, and Disabling DirectoryIndex for those requests. RewriteEngine on RewriteRule ^$ /test/home.php [NC,QSA,END,E=IS_DIR_INDEX:1] <If "env('IS_DIR_INDEX') == 1"> SetHandler default_handler </If> There is a related issue which is present in 2.2 too. DirectoryIndex directive does not pass requests for directories to FallbackResource, if the index file is not found. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
