IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

acceder au local host


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Invité
    Invité(e)
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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

  2. #2
    Membre actif Avatar de Retrokiller069
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2010
    Messages
    217
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2010
    Messages : 217
    Points : 296
    Points
    296
    Par défaut
    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é...
    Ce n'est pas ce que nous voulons faire qui est impossible mais ce sont les moyens à sa mise en oeuvre qui peuvent le paraître

    Ps: N'oubliez pas SVP

  3. #3
    Expert éminent
    Avatar de Benjamin Delespierre
    Profil pro
    Développeur Web
    Inscrit en
    Février 2010
    Messages
    3 929
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

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

    Informations forums :
    Inscription : Février 2010
    Messages : 3 929
    Points : 7 762
    Points
    7 762
    Par défaut
    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 ?

  4. #4
    Membre actif Avatar de Retrokiller069
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2010
    Messages
    217
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2010
    Messages : 217
    Points : 296
    Points
    296
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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...
    Ce n'est pas ce que nous voulons faire qui est impossible mais ce sont les moyens à sa mise en oeuvre qui peuvent le paraître

    Ps: N'oubliez pas SVP

  5. #5
    Expert éminent
    Avatar de Benjamin Delespierre
    Profil pro
    Développeur Web
    Inscrit en
    Février 2010
    Messages
    3 929
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

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

    Informations forums :
    Inscription : Février 2010
    Messages : 3 929
    Points : 7 762
    Points
    7 762
    Par défaut
    T'as bien pensé à reloader Apache après avoir configuré de cette façon ?

  6. #6
    Membre actif Avatar de Retrokiller069
    Homme Profil pro
    Étudiant
    Inscrit en
    Octobre 2010
    Messages
    217
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Octobre 2010
    Messages : 217
    Points : 296
    Points
    296
    Par défaut
    Excuse moi mais en fait je n'avais pas compris que ta précédente question ne me concernait pas
    Ce n'est pas ce que nous voulons faire qui est impossible mais ce sont les moyens à sa mise en oeuvre qui peuvent le paraître

    Ps: N'oubliez pas SVP

  7. #7
    Invité
    Invité(e)
    Par défaut
    Bonjour

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

    You don't have permission to access / on this server.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    Dernière modification par Invité ; 20/06/2011 à 18h54.

  8. #8
    Invité
    Invité(e)
    Par défaut
    Bonjour

    j'ai toujours cette erreur Forbidden

    You don't have permission to access / on this server.
    httpd.conf
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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 : Sélectionner tout - Visualiser dans une fenêtre à part
    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

Discussions similaires

  1. Problème sur le local host
    Par ouss isg dans le forum Développement Web en Java
    Réponses: 0
    Dernier message: 03/03/2011, 01h52
  2. Impossible d'acceder à un Self-Hosted WCF de Silverlight
    Par Isher dans le forum Silverlight
    Réponses: 4
    Dernier message: 29/03/2010, 22h33
  3. Réponses: 4
    Dernier message: 20/09/2007, 01h50
  4. local host MS SQl server?
    Par widom dans le forum MS SQL Server
    Réponses: 1
    Dernier message: 18/05/2007, 13h19
  5. recuprer adresse IP et local host name
    Par einsteineuzzz dans le forum C++
    Réponses: 2
    Dernier message: 08/01/2007, 15h55

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo