Erreur du chargement du localhost
Fermé
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
-
11 févr. 2010 à 00:03
oussama2nd Messages postés 65 Date d'inscription vendredi 16 janvier 2009 Statut Membre Dernière intervention 9 novembre 2012 - 11 févr. 2010 à 15:55
oussama2nd Messages postés 65 Date d'inscription vendredi 16 janvier 2009 Statut Membre Dernière intervention 9 novembre 2012 - 11 févr. 2010 à 15:55
A voir également:
- Erreur du chargement du localhost
- Erreur 1004 vba ✓ - Forum VB / VBA
- Mytf1 erreur de chargement - Forum Vidéo/TV
- Erreur 1000 france tv - Forum MacOS
- Localhost/phpmyadmin ✓ - Forum PHP
- Youtube une erreur s'est produite ✓ - Forum YouTube
14 réponses
Damdoshi
Messages postés
8
Date d'inscription
jeudi 11 février 2010
Statut
Membre
Dernière intervention
16 février 2010
1
11 févr. 2010 à 08:11
11 févr. 2010 à 08:11
Il me semble qu'il faille juste ecrire http://localhost/ comme racine.
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 13:36
11 févr. 2010 à 13:36
non ca n a pas marché
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 13:41
11 févr. 2010 à 13:41
Salut,
Commence à vérifier que ton serveur apache est un marche et dis nous bien sûr si c'est le cas ou pas.
Pour l'info.
http://localhost n'est en aucun cas la racine d'un site mais juste le URL de la machine locale qui est équivalent avec
http://127.0.0.1 et http://ip.de.la.machine_locale
La racine de site, n'est qu'un répertoire (dossier), qui est définie dans le fichier de configuration d'apache avec la directive DocumentRoot.
Commence à vérifier que ton serveur apache est un marche et dis nous bien sûr si c'est le cas ou pas.
Pour l'info.
http://localhost n'est en aucun cas la racine d'un site mais juste le URL de la machine locale qui est équivalent avec
http://127.0.0.1 et http://ip.de.la.machine_locale
La racine de site, n'est qu'un répertoire (dossier), qui est définie dans le fichier de configuration d'apache avec la directive DocumentRoot.
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 13:46
11 févr. 2010 à 13:46
cette adress http://127.0.0.1 a fonctionné merci^^ mais c est quoi le problem pour quoi le http//localhost.com ne fonctionne pas
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 14:03
11 févr. 2010 à 14:03
Re,
Ouvre la ligne de commande dos et tape
ou utilise clic droit/ouvrir avec et choisi le notepad
Affiche ici le résultat.
La directive ServerName de ton serveur contient quoi?
Ouvre la ligne de commande dos et tape
type C:\WINDOWS\system32\drivers\etc\hosts
ou utilise clic droit/ouvrir avec et choisi le notepad
Affiche ici le résultat.
La directive ServerName de ton serveur contient quoi?
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 14:10
11 févr. 2010 à 14:10
re,
j ai pas trouver le fichier hosts mais j ai trouvé le fichier lmhosts.sam et voila ce qu il contient:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to computernames
# (NetBIOS) names. Each entry should be kept on an individual line.
# The IP address should be placed in the first column followed by the
# corresponding computername. The address and the computername
# should be separated by at least one space or tab. The "#" character
# is generally used to denote the start of a comment (see the exceptions
# below).
#
# This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
# files and offers the following extensions:
#
# #PRE
# #DOM:<domain>
# #INCLUDE <filename>
# #BEGIN_ALTERNATE
# #END_ALTERNATE
# \0xnn (non-printing character support)
#
# Following any entry in the file with the characters "#PRE" will cause
# the entry to be preloaded into the name cache. By default, entries are
# not preloaded, but are parsed only after dynamic name resolution fails.
#
# Following an entry with the "#DOM:<domain>" tag will associate the
# entry with the domain specified by <domain>. This affects how the
# browser and logon services behave in TCP/IP environments. To preload
# the host name associated with #DOM entry, it is necessary to also add a
# #PRE to the line. The <domain> is always preloaded although it will not
# be shown when the name cache is viewed.
#
# Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
# software to seek the specified <filename> and parse it as if it were
# local. <filename> is generally a UNC-based name, allowing a
# centralized lmhosts file to be maintained on a server.
# It is ALWAYS necessary to provide a mapping for the IP address of the
# server prior to the #INCLUDE. This mapping must use the #PRE directive.
# In addtion the share "public" in the example below must be in the
# LanManServer list of "NullSessionShares" in order for client machines to
# be able to read the lmhosts file successfully. This key is under
# \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessionshares
# in the registry. Simply add "public" to the list found there.
#
# The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE
# statements to be grouped together. Any single successful include
# will cause the group to succeed.
#
# Finally, non-printing characters can be embedded in mappings by
# first surrounding the NetBIOS name in quotations, then using the
# \0xnn notation to specify a hex value for a non-printing character.
#
# The following example illustrates all of these extensions:
#
# 102.54.94.97 rhino #PRE #DOM:networking #net group's DC
# 102.54.94.102 "appname \0x14" #special app server
# 102.54.94.123 popular #PRE #source server
# 102.54.94.117 localsrv #PRE #needed for the include
#
# #BEGIN_ALTERNATE
# #INCLUDE \\localsrv\public\lmhosts
# #INCLUDE \\rhino\public\lmhosts
# #END_ALTERNATE
#
# In the above example, the "appname" server contains a special
# character in its name, the "popular" and "localsrv" server names are
# preloaded, and the "rhino" server name is specified so it can be used
# to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"
# system is unavailable.
#
# Note that the whole file is parsed including comments on each lookup,
# so keeping the number of comments to a minimum will improve performance.
# Therefore it is not advisable to simply add lmhosts file entries onto the
# end of this file.
j ai pas trouver le fichier hosts mais j ai trouvé le fichier lmhosts.sam et voila ce qu il contient:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to computernames
# (NetBIOS) names. Each entry should be kept on an individual line.
# The IP address should be placed in the first column followed by the
# corresponding computername. The address and the computername
# should be separated by at least one space or tab. The "#" character
# is generally used to denote the start of a comment (see the exceptions
# below).
#
# This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
# files and offers the following extensions:
#
# #PRE
# #DOM:<domain>
# #INCLUDE <filename>
# #BEGIN_ALTERNATE
# #END_ALTERNATE
# \0xnn (non-printing character support)
#
# Following any entry in the file with the characters "#PRE" will cause
# the entry to be preloaded into the name cache. By default, entries are
# not preloaded, but are parsed only after dynamic name resolution fails.
#
# Following an entry with the "#DOM:<domain>" tag will associate the
# entry with the domain specified by <domain>. This affects how the
# browser and logon services behave in TCP/IP environments. To preload
# the host name associated with #DOM entry, it is necessary to also add a
# #PRE to the line. The <domain> is always preloaded although it will not
# be shown when the name cache is viewed.
#
# Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
# software to seek the specified <filename> and parse it as if it were
# local. <filename> is generally a UNC-based name, allowing a
# centralized lmhosts file to be maintained on a server.
# It is ALWAYS necessary to provide a mapping for the IP address of the
# server prior to the #INCLUDE. This mapping must use the #PRE directive.
# In addtion the share "public" in the example below must be in the
# LanManServer list of "NullSessionShares" in order for client machines to
# be able to read the lmhosts file successfully. This key is under
# \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsessionshares
# in the registry. Simply add "public" to the list found there.
#
# The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE
# statements to be grouped together. Any single successful include
# will cause the group to succeed.
#
# Finally, non-printing characters can be embedded in mappings by
# first surrounding the NetBIOS name in quotations, then using the
# \0xnn notation to specify a hex value for a non-printing character.
#
# The following example illustrates all of these extensions:
#
# 102.54.94.97 rhino #PRE #DOM:networking #net group's DC
# 102.54.94.102 "appname \0x14" #special app server
# 102.54.94.123 popular #PRE #source server
# 102.54.94.117 localsrv #PRE #needed for the include
#
# #BEGIN_ALTERNATE
# #INCLUDE \\localsrv\public\lmhosts
# #INCLUDE \\rhino\public\lmhosts
# #END_ALTERNATE
#
# In the above example, the "appname" server contains a special
# character in its name, the "popular" and "localsrv" server names are
# preloaded, and the "rhino" server name is specified so it can be used
# to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"
# system is unavailable.
#
# Note that the whole file is parsed including comments on each lookup,
# so keeping the number of comments to a minimum will improve performance.
# Therefore it is not advisable to simply add lmhosts file entries onto the
# end of this file.
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 14:15
11 févr. 2010 à 14:15
Re,
Alors fait une recherche de fichier hosts avec ton utilitaire de recherche de fichiers.
Peut être que le chemin que je t'ai donné n'est pas bon. Je ne sais pas où il se trouve sur vista.
Alors fait une recherche de fichier hosts avec ton utilitaire de recherche de fichiers.
Peut être que le chemin que je t'ai donné n'est pas bon. Je ne sais pas où il se trouve sur vista.
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 14:18
11 févr. 2010 à 14:18
re,
j ai trouver le fichier host dans le systeme32\drivers et voila son contenu
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
#::1 localhost
j ai trouver le fichier host dans le systeme32\drivers et voila son contenu
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
#::1 localhost
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 14:19
11 févr. 2010 à 14:19
Re,
Et la directive ServerName ?!
Et la directive ServerName ?!
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 14:37
11 févr. 2010 à 14:37
re,
ce la veut dire quoi?
ce la veut dire quoi?
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 14:41
11 févr. 2010 à 14:41
Re,
Le serveur apache a un fichier de configuration. Tu dois pouvoir regarder le fichier de configuration avec ton logiciel.
Sinon cherche le fichier httpd.conf et à l'intérieur cherche ServerName
Le serveur apache a un fichier de configuration. Tu dois pouvoir regarder le fichier de configuration avec ton logiciel.
Sinon cherche le fichier httpd.conf et à l'intérieur cherche ServerName
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 14:59
11 févr. 2010 à 14:59
re
j ai trouvé servername localhost:80
j ai trouvé servername localhost:80
lami20j
Messages postés
21331
Date d'inscription
jeudi 4 novembre 2004
Statut
Modérateur, Contributeur sécurité
Dernière intervention
30 octobre 2019
3 567
11 févr. 2010 à 15:15
11 févr. 2010 à 15:15
Re,
Alors http://localhost devrait marcher aussi
Il faut regarder les logs (les journaux) de ton serveur pour voir ce qui se passe quand tu fait la requête http://localhost
Alors http://localhost devrait marcher aussi
Il faut regarder les logs (les journaux) de ton serveur pour voir ce qui se passe quand tu fait la requête http://localhost
oussama2nd
Messages postés
65
Date d'inscription
vendredi 16 janvier 2009
Statut
Membre
Dernière intervention
9 novembre 2012
4
11 févr. 2010 à 15:55
11 févr. 2010 à 15:55
re,
merci de m avoir aider mais j croi j vai utiliser http://127.0.0.1 pour acceder au localhost car j suis encor novice merci quand meme^^
merci de m avoir aider mais j croi j vai utiliser http://127.0.0.1 pour acceder au localhost car j suis encor novice merci quand meme^^