append solution for index.php in subdirectory