Adding rest folder with index.php