I have following RewriteRule which was working fine before change in the server configuration. But now it doesnot work as expected.When I give directory path in url it redirects to error.php. It used to redirects to index.php before.
1. It checks whether specified file exists or not
2. if it does not find the file it will concatenate .php with the file name (for those with a filename which have no extension or with other extension than php)
3. if it does not find the php file it will check whether given url is directory or not
4. if url is neither existing directory nor existing file, then it will redirect it to error.php