Désolé... dans mon précédent message j'ai trés mal posé ma question ...
J'héberge mon site avec WAMP5 1.6.6 qui me donne toute satisfaction.
Pouvez-vous m'indiquer ce qu'il y a à faire pour éviter d'avoir à composer [www]. devant mon nom de domaine pour que tout internaute désirant accéder à mon site n'est pas à composer [www]. devant mon nom de domaine.
3-pourquoi as tu tant changer ce que j'avais mis en exemple ? 2-as tu décommenté NameVirtualHost *:80 ?
je pensais qu'il le fallait donc je viens de rectifier c'est comme ci-dessous
NameVirtualHost *:80
# # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # <VirtualHost *:80> ServerName www.truc.fr DocumentRoot c:/www/wwwtrucfr/html/ CustomLog c:/services/logs/truc.fr.log combined </VirtualHost>
aprés avoir redémarrer ordi en activant WAMP5 en composant mon site sans [www]. (et avec [www]. également) impossible de l'ouvrir d'où j'ai fait la même chose avec :
Le tout est important...Car, le premier virtualhost traite les requetes faites sur [truc.fr] et les modifies en [www.truc.fr] Le deuxième traite les requetes en [www.truc.fr] Du coup, si tu supprime l'un des deux, ca risque de marcher beaucoup moins bien.
Tout en sachant qu'il faut modifier DocumentRoot c:/www/wwwtrucfr/html/
pour que cela pointe vers ton site et CustomLog c:/services/logs/truc.fr.log combined
pour qu'il pointe vers l'endroit ou seront stocké tes logs concernant ton site.
[Mon Feb 26 22:47:24 2007] [notice] Child 2960: Exit event signaled. Child process is ending. [Mon Feb 26 22:47:25 2007] [notice] Child 2960: Released the start mutex [Mon Feb 26 22:47:26 2007] [notice] Child 2960: Waiting for 250 worker threads to exit. [Mon Feb 26 22:47:26 2007] [notice] Child 2960: All worker threads have exited. [Mon Feb 26 22:47:26 2007] [notice] Child 2960: Child process is exiting [Mon Feb 26 22:47:26 2007] [notice] Parent: Child process exited successfully. [Mon Feb 26 22:47:28 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:47:41 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:47:55 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:48:22 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:49:06 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:49:59 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.0 configured -- resuming normal operations [Mon Feb 26 22:49:59 2007] [notice] Server built: Jul 27 2006 15:55:03 [Mon Feb 26 22:49:59 2007] [notice] Parent: Created child process 3260 [Mon Feb 26 22:49:59 2007] [notice] Child 3260: Child process is running [Mon Feb 26 22:49:59 2007] [notice] Child 3260: Acquired the start mutex. [Mon Feb 26 22:49:59 2007] [notice] Child 3260: Starting 250 worker threads. [Mon Feb 26 22:53:42 2007] [notice] Parent: Received shutdown signal -- Shutting down the server. [Mon Feb 26 22:53:42 2007] [notice] Child 3260: Exit event signaled. Child process is ending. [Mon Feb 26 22:53:43 2007] [notice] Child 3260: Released the start mutex [Mon Feb 26 22:53:44 2007] [notice] Child 3260: Waiting for 250 worker threads to exit. [Mon Feb 26 22:53:44 2007] [notice] Child 3260: All worker threads have exited. [Mon Feb 26 22:53:44 2007] [notice] Child 3260: Child process is exiting [Mon Feb 26 22:53:44 2007] [notice] Parent: Child process exited successfully. [Mon Feb 26 22:53:47 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:53:55 2007] [error] (OS 3)Le chemin d'accès spécifié est introuvable. : could not open transfer log file C:/services/logs/truc.fr.log. [Mon Feb 26 22:54:58 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.0 configured -- resuming normal operations [Mon Feb 26 22:54:58 2007] [notice] Server built: Jul 27 2006 15:55:03 [Mon Feb 26 22:54:58 2007] [notice] Parent: Created child process 2932 [Mon Feb 26 22:54:58 2007] [notice] Child 2932: Child process is running [Mon Feb 26 22:54:58 2007] [notice] Child 2932: Acquired the start mutex. [Mon Feb 26 22:54:58 2007] [notice] Child 2932: Starting 250 worker threads. [Mon Feb 26 23:05:30 2007] [notice] Parent: Received shutdown signal -- Shutting down the server. [Mon Feb 26 23:05:30 2007] [notice] Child 2932: Exit event signaled. Child process is ending. [Mon Feb 26 23:05:31 2007] [notice] Child 2932: Released the start mutex [Mon Feb 26 23:05:32 2007] [notice] Child 2932: Waiting for 250 worker threads to exit. [Mon Feb 26 23:05:32 2007] [notice] Child 2932: All worker threads have exited. [Mon Feb 26 23:05:32 2007] [notice] Child 2932: Child process is exiting [Mon Feb 26 23:05:32 2007] [notice] Parent: Child process exited successfully. [Mon Feb 26 23:41:48 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.0 configured -- resuming normal operations [Mon Feb 26 23:41:48 2007] [notice] Server built: Jul 27 2006 15:55:03 [Mon Feb 26 23:41:48 2007] [notice] Parent: Created child process 3036 [Mon Feb 26 23:41:48 2007] [notice] Child 3036: Child process is running [Mon Feb 26 23:41:48 2007] [notice] Child 3036: Acquired the start mutex. [Mon Feb 26 23:41:48 2007] [notice] Child 3036: Starting 250 worker threads.
Si tu relis mes posts tu verra qu'avant d'indiquer à apache d'aller chercher les fichiers de ton site web dans c:/www/wwwtrucfr/html/ ou de sauvegarder tes logs dans C:/services/logs/truc.fr.log
Il faut que ces répertoires et fichiers existent !!! Et que les fichiers ad-hoc soient dedans !!!