Re: [users@httpd] Re: Mod_rewrite END flag does not work for directory index

2013-07-28 Thread Joyce Babu
I have worked around by setting an environment variable RewriteEngine on RewriteRule ^$ /test/home.php [NC,QSA,END,E=IS_DIR_INDEX:1] FallbackResource /test/fallback.php SetHandler default_handler On Sun, Jul 28, 2013 at 1:21 PM, Joyce Babu wrote: > When SetHandler application/x-httpd-ph

Re: [users@httpd] Re: Mod_rewrite END flag does not work for directory index

2013-07-28 Thread Joyce Babu
When SetHandler application/x-httpd-php is used, all files (including images) are served as text/html. On Sun, Jul 28, 2013 at 1:05 PM, Joyce Babu wrote: > > On Sat, Jul 27, 2013 at 10:33 PM, Eric Covener wrote: > >> Just occurred to me that just NS flag may be enough too. >> > > It didn't wor

Re: [users@httpd] Re: Mod_rewrite END flag does not work for directory index

2013-07-28 Thread Joyce Babu
On Sat, Jul 27, 2013 at 10:33 PM, Eric Covener wrote: > Just occurred to me that just NS flag may be enough too. > It didn't work. According to the manual, NS flag will only prevent the rules from being applied on sub requests. > On Sat, Jul 27, 2013 at 11:49 AM, Eric Covener wrote: > > > >