Pool Posted May 13, 2015 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
Renato Frota Posted May 13, 2015 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
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.
Note: Your post will require moderator approval before it will be visible.