Move index.php and .htaccess in public directory