Précédent   Forum des professionnels en informatique > PHP > Outils > WAMP
WAMP Forum d'entraide sur WAMP (Windows Apache MySQL PHP) : installation, utilisation, etc.
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 20/06/2011, 14h48   #1
 
Inscription : mai 2007
Messages : 304
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 304
Points : -10
Points : -10
Par défaut acceder au local host

bonjour

j'ai installer wamp sur windows 7 mais lorsque cliquer sur localhost j'ai recu cette erreur
You don't have permission to access / on this server.

httpd.conf
Code :
1
2
3
4
5
6
7
8
<Directory "c:/wamp/www/">
 Options Indexes FollowSymLinks
 AllowOverride all
 Order Allow,Deny
    # Deny from all
    Allow from 127.0.0.1
 
</Directory>
merci
manjava est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 15h47   #2
Membre confirmé
 
Avatar de Retrokiller069
 
Homme Bertrand
Étudiant
Inscription : octobre 2010
Messages : 216
Détails du profil
Informations personnelles :
Nom : Homme Bertrand
Localisation : France

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 216
Points : 268
Points : 268
Bonjour, sur le mien j'ai ceci je ne pense pas que ca change grand chose mais bon.

Je sais également que wamp à quelque petit problème si Skype est ouvert.

En espérant t'avoir aidé...
Retrokiller069 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 15h52   #3
Modérateur
 
Avatar de Benjamin Delespierre
 
Benjamin Delespierre
Développeur Web
Inscription : février 2010
Messages : 2 984
Détails du profil
Informations personnelles :
Nom : Benjamin Delespierre
Âge : 24
Localisation : France

Informations professionnelles :
Activité : Développeur Web
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : février 2010
Messages : 2 984
Points : 5 016
Points : 5 016
En effet, Apache ne peut pas se lancer si Skype occupe le port 80. Il faut lancer Skype après Apache... Bref, le problème ne se situe pas là visiblement puisqu'on rencontre un message d'erreur.

Tu peux aller vérifier le root directory dans httpd.conf ?
__________________
A la recherche d'un framework MVC facile a prendre en main ? Essayez Axiom
Nouveau: la référence d'Axiom est disponible sur GitHub (je la peaufine en ce moment même).

Un problème correctement identifié est à moitié résolu, évitez de poster l'intégralité de votre code avec pour seule explication "ça ne marche pas...".
Pour identifier correctement vos problèmes PHP, utilisez la gestion des erreurs et xdebug.

Les boutons et existent, servez-vous en
Benjamin Delespierre est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 15h58   #4
Membre confirmé
 
Avatar de Retrokiller069
 
Homme Bertrand
Étudiant
Inscription : octobre 2010
Messages : 216
Détails du profil
Informations personnelles :
Nom : Homme Bertrand
Localisation : France

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 216
Points : 268
Points : 268
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
 
 
 
ServerAdmin admin@localhost
ServerName localhost:80
 
DocumentRoot "c:/wamp/www/"
 
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
 
<Directory "c:/wamp/www/">
    Options Indexes FollowSymLinks
 
   AllowOverride all
 
    Order Allow,Deny
    Allow from all
 
</Directory>
 
<IfModule dir_module>
    DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
 
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>
 
ErrorLog "c:/wamp/logs/apache_error.log"
 
LogLevel warn
 
 
<Directory "cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
voila ce que j'ai...
Retrokiller069 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 16h15   #5
Modérateur
 
Avatar de Benjamin Delespierre
 
Benjamin Delespierre
Développeur Web
Inscription : février 2010
Messages : 2 984
Détails du profil
Informations personnelles :
Nom : Benjamin Delespierre
Âge : 24
Localisation : France

Informations professionnelles :
Activité : Développeur Web
Secteur : High Tech - Opérateur de télécommunications

Informations forums :
Inscription : février 2010
Messages : 2 984
Points : 5 016
Points : 5 016
T'as bien pensé à reloader Apache après avoir configuré de cette façon ?
__________________
A la recherche d'un framework MVC facile a prendre en main ? Essayez Axiom
Nouveau: la référence d'Axiom est disponible sur GitHub (je la peaufine en ce moment même).

Un problème correctement identifié est à moitié résolu, évitez de poster l'intégralité de votre code avec pour seule explication "ça ne marche pas...".
Pour identifier correctement vos problèmes PHP, utilisez la gestion des erreurs et xdebug.

Les boutons et existent, servez-vous en
Benjamin Delespierre est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 16h16   #6
Membre confirmé
 
Avatar de Retrokiller069
 
Homme Bertrand
Étudiant
Inscription : octobre 2010
Messages : 216
Détails du profil
Informations personnelles :
Nom : Homme Bertrand
Localisation : France

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : octobre 2010
Messages : 216
Points : 268
Points : 268
Excuse moi mais en fait je n'avais pas compris que ta précédente question ne me concernait pas
Retrokiller069 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/06/2011, 17h42   #7
 
Inscription : mai 2007
Messages : 304
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 304
Points : -10
Points : -10
Bonjour

merci pour tous mais j'ai toujours l'erreur Forbidden

You don't have permission to access / on this server.
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order  Deny,Allow
    Deny from all
</Directory>
 
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
 
#
# This should be changed to whatever you set DocumentRoot to.
#
<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 Allow,Deny
    Allow from all
 
</Directory>
 
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
 
#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>
je pense qUE veut pointer sur la racine / il se trouver pas si quelqu'un connait comment en résoudre ce problème

--
config:
windows seven 7
Apache 2.2.17
PHP 5.3.5
manjava est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 21/06/2011, 11h17   #8
 
Inscription : mai 2007
Messages : 304
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 304
Points : -10
Points : -10
Bonjour

j'ai toujours cette erreur Forbidden

You don't have permission to access / on this server.
httpd.conf
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
ServerName localhost:80
 DocumentRoot c:/wamp/www/
 <Directory />
    Options FollowSymLinks
     AllowOverride All
    Order  Deny,Allow
    Deny from all
 </Directory>
 <Directory C:/wamp/www/>
 Options Indexes FollowSymLinks
 AllowOverride all
  Order Allow,Deny
 Order Allow,Deny
    Allow from all
 </Directory>
file www/web/public/.htaccess
Code :
1
2
3
4
5
6
7
   1. SetEnv APPLICATION_ENV development
   2. RewriteEngine On
   3. RewriteCond %{REQUEST_FILENAME} -s [OR]
   4. RewriteCond %{REQUEST_FILENAME} -l [OR]
   5. RewriteCond %{REQUEST_FILENAME} -d
   6. RewriteRule ^.*$ - [NC,L]
   7. RewriteRule ^.*$ index.php [NC,L]
apache_error.log
Code :
1
2
3
4
5
   1. [client 127.0.0.1] C:/wamp/www/Web/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
   2. [Sun Jun 19 22:17:48 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
   3. [Sun Jun 19 22:17:49 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
   4. [Sun Jun 19 22:17:50 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
   5. [Sun Jun 19 22:17:50 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
ce que je sais pas ou devient ce C:/Dev en plus il ce trouver pas sur C je pense celui qui pose ce problème si quelqu'un peut donner une aidée


merci
manjava est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 22h31.


 
 
 
 
Partenaires

Hébergement Web