I have installed two CMSs in the same directory. One of the CMSs allows the index.php file to be renamed to index2.php, the other one does not. Ideally I'd like to set up a conditional rule in the .htaccess file which:
- Uses index.php as the default DirectoryIndex
- If there is a 404 error then set the DirectoryIndex to index2.php
Does anyone know if/how this possible?