erro localhost wampserver

  • oliviorodrigues
  • Avatar de oliviorodrigues Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
11 anos 6 meses atrás #82227 por oliviorodrigues
oliviorodrigues created the topic: erro localhost wampserver
estou tentado entrar atraves do wampserver mas esta dando este erRO;Forbidden

You don't have permission to access / on this server.

Please Entrar ou Registrar to join the conversation.


Mais
11 anos 4 meses atrás #83739 por davidmaceio
davidmaceio replied the topic: Re: erro localhost wampserver
Conseguiu resolver este problema como?
Estou com o mesmo problema agora.

Windows 7 não deixa eu abrir o localhost

Please Entrar ou Registrar to join the conversation.

Mais
11 anos 4 meses atrás #83747 por davidmaceio
davidmaceio replied the topic: Re: erro localhost wampserver
Boa tarde!

Acabei de solucionar o problema do wamp com windows 7 que não queria abrir o localhost.

Fiz os seguintes procedimentos:

1.Abrir a pasta C:\wamp\bin\apache\apache2.2.22\conf;
2.Abrir o arquivo httpd.conf
3.Procurar dentro do arquivo este código fonte:

<Directory "c:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all

#
# Controls who can get stuff from this server.
#

# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1


</Directory>

4.Adicionar o simbolo de # antes de Deny from all e Allow from 127.0.0.1;
5.Adicionar a baixo de Allow from 127.0.0.1 o código Allow from All.

Ficando assim no final:
#Deny from all
#Allow from 127.0.0.1
Allow from All

É só salvar e pronto.

Please Entrar ou Registrar to join the conversation.