Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1488 connectés 

  FORUM HardWare.fr
  Programmation
  PHP

  Peux pas afficher le répertoire principal d'Apache (http://localhost/)

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Peux pas afficher le répertoire principal d'Apache (http://localhost/)

n°1545409
mansour
Posté le 19-04-2007 à 19:53:27  profilanswer
 

Bonjour,
 
Je suis nouveau sur le forum et pour commencer j'ai un petit problème. En effet, car je n'arrive plus à accéder au répertoire principal d'Apache, à savoir localhost. Je travaille en local et quand je tape http://localhost/ ou http://127.0.0.1/, ça m'affiche :
 
Forbidden
 
You don't have permission to access / on this server

 
Au début j'arrivais à accéder à la page principale sans problème mais quand j'ai eu quelques problèmes en essayant d'installer PHP5 avec Apache ça n'a plus fonctionné. En voyant que ça ne marchait pas, j'ai tout remi dans le fichier de configuration d'Apache comme c'était avant (httpd.conf).
 
Et maintenant rien ne marche   :??:   Voici les messages qui sont apparues quand je n'arrivais plus à afficher la page du répertoire principal (C:/Apache/www).
 
 
[Thu Apr 19 19:01:36 2007] [notice] Parent: Created child process 1448
[Thu Apr 19 19:01:36 2007] [notice] Child 1448: Child process is running
[Thu Apr 19 19:01:37 2007] [notice] Child 424: Released the start mutex
[Thu Apr 19 19:01:37 2007] [notice] Child 1448: Acquired the start mutex.
[Thu Apr 19 19:01:37 2007] [notice] Child 1448: Starting 250 worker threads.
[Thu Apr 19 19:01:38 2007] [notice] Child 424: Waiting for 250 worker threads to exit.
[Thu Apr 19 19:01:38 2007] [notice] Child 424: All worker threads have exited.
[Thu Apr 19 19:01:38 2007] [notice] Child 424: Child process is exiting
[Thu Apr 19 19:01:38 2007] [notice] Child 1448: Starting thread to listen on port 80.
[Thu Apr 19 19:01:41 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:41 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:42 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:42 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:42 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:42 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:43 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/
[Thu Apr 19 19:01:44 2007] [error] [client 127.0.0.1] client denied by server configuration: C:/projet/www/

 
 
Je viens tout juste de l'installé et ça serait vraiment gentil de votre part si vous pouviez m'aider. Merci   :)

mood
Publicité
Posté le 19-04-2007 à 19:53:27  profilanswer
 

n°1545411
zecrazytux
Posté le 19-04-2007 à 19:59:48  profilanswer
 

ta pas les droit
 
chown + chmod


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
n°1545414
mansour
Posté le 19-04-2007 à 20:12:15  profilanswer
 

zecrazytux a écrit :

ta pas les droit
 
chown + chmod


 
Je n'ai pas les droits sur le dossier www ? Comment je fais pour changer les droits parce que je suis sous Windows et en local ?
 
Sinon c'est quoi chown ?
 
Merci d'avoir répondu en tout cas  :)  

n°1545423
zecrazytux
Posté le 19-04-2007 à 20:28:35  profilanswer
 

change owner, sur *nix
sur windows, je sais pas désolé... j'ai rejoint le bon coté de la force ;)
 
ta pas de .htaccess dans www/ ?


---------------
Blog photo/récits activités en montagne http://planetcaravan.net
n°1545425
Shinuza
This is unexecpected
Posté le 19-04-2007 à 20:35:04  profilanswer
 

Regarde plutôt si dans httpd.conf t'as un

Code :
  1. <Directory "C:/projet/www/">

Message cité 1 fois
Message édité par Shinuza le 19-04-2007 à 20:35:21

---------------
Mains power can kill, and it will hurt the entire time you’re dying from it.
n°1545427
mansour
Posté le 19-04-2007 à 20:38:46  profilanswer
 

Shinuza a écrit :

Regarde plutôt si dans httpd.conf t'as un

Code :
  1. <Directory "C:/projet/www/">



 
exellent !  :love:  
 
ça marche nickel, merci à vous tous de m'avoir répondu  :hello:  


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  PHP

  Peux pas afficher le répertoire principal d'Apache (http://localhost/)

 

Sujets relatifs
[css/html/...php] ne pas afficher certain champsAfficher le résultat d'une requête mysql sous forme d'hyperlien
[Apache/PHP] : double php.ini, c'est possible ?Afficher les erreur lors du lancement d'un script bash
masque afficher DIV avec bouton radioafficher masquer
Cacher le contenu d'un répertoire sur serveur ApacheGestion de la navigation par jour avec nombre d'affichage limité svp
PHP+SQL afficher 5 news et avoir accès aux autres... 
Plus de sujets relatifs à : Peux pas afficher le répertoire principal d'Apache (http://localhost/)


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR