Thanks for your reply I solved RewriteCond.
Wilmer.
Have you tried usingWilmer,You would need to explain what you are trying to achieve here. Do you mean you wish to have two set of rewrite rules handling requsts for 1. localhost and 2.everything else?RewriteCond
?On Sun, Mar 8, 2015 at 6:56 AM, Wilmer Arambula <tecnologiaterabyte@xxxxxxxxx> wrote:Hi, I have the following .htaccess file:# if a directory or a file exists, use the request directly# otherwise forward the request to index.phpRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . index.phpwhen the host is equal to localhost RewriteRule . index-test.phpelse RewriteRule . index.phpas I do apologize for my ignorance, my version of apache 2.4,Thks,--Wilmer Arambula.