Apache: erreur 403
Résolu
Bonjour tout le monde j'ai un problème apache quand j'ouvre localhost ou phpmyadmin ça me met cette page :
Forbidden
You don't have permission to access / on this server.
J'ai essayé d'aller résoudre le problème dans wampserver----->Apache----->alias directories-----> http://localhost/phpmyadmin et d'ouvrir le fichier "edit alias" et a l'interieur c'est ecrit ceci :
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.5.1/"
# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#
<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
Forbidden
You don't have permission to access / on this server.
J'ai essayé d'aller résoudre le problème dans wampserver----->Apache----->alias directories-----> http://localhost/phpmyadmin et d'ouvrir le fichier "edit alias" et a l'interieur c'est ecrit ceci :
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.5.1/"
# to give access to phpmyadmin from outside
# replace the lines
#
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#
# by
#
# Order Allow,Deny
# Allow from all
#
<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
4 réponses
-
Accede tu a ton serveur avec l'IP du genre 192.168.1.xx ??
-
c'est a dire ???
-
ok j'ai compris je me suis connecté avec 127.0.0.1 et sa a marché merci a toi
P.S. +1 ;)
-
L'adresse IP que ton ordinateur pour acceder en local et 127.0.0.1 !
L'adresse IP de ton ordinateur sur ton réseau ressemble a 192.168.1.xx