Pool Posted May 13, 2015 Share Posted May 13, 2015 Meu arquivo index.php esta na pasta /var/www/html dentro do VPS, e para acessar o index tenho que digitar meusite.com/index.php e eu quero que só ao acessar meusite.com já vá direto para o index.php, como faço isso? 0 Quote Link to comment Share on other sites More sharing options...
Renato Frota Posted May 13, 2015 Share Posted May 13, 2015 Cria um arquivo .htaccess (se ainda não existir) na mesma pasta contendo: DirectoryIndex index.php index.php5 index.php4 index.html default.php default.html 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.