localhost não funciona, mas por ip consigo enxergar
Bom dia pessoa, tudo bem?
Desculpem se não postei no lugar correto...
Estou instalando o apache php e mysql na minha maquina, acontece que quando digito:
http://meu_ip/index.php ( eu consigo ver as informações do PHP ) > index.php = <? phpinfo(); ?>
já assim
me da o seguinte erro:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster
Error 404
Ou seja
Tudo que estou colocando (localhost) não está funcionando.
Acontece o mesmo com o apache, se digito meu ip aparece certinho IT WORKS
Se digito localhost aparece uma página de teste do apache:
Test Page
This page is used to test the proper operation of the Apache Web server after it has been installed. If you can read this page, it means that the Apache Web server installed at this site is working properly. .... e mai um monte de informações
Eu até sei que essa página é uma página de teste se ocorreu tudo certo, MAS... em 4 computadores que ja instalei ocorre tudo certo e não aparece essa pagina de teste.
O correto fica assim
localhost = IT WORKS
meu ip = IT WORKS
Muito obrigado pela força pessoal
Discussão (4)
Carregando comentários...