Bonjour,
J'ai développé une application PHP déployée en local avec :
- Apache 2.2.11
- PHP 5.2.9-2
- MySQL 5.1.33
Les 2 navigateurs Web sur lesquels j'ai testé l'application sont :
- Firefox 3.5.2
- Internet Explorer 8.0.6
Sous Internet Explorer, j'arrive à accéder à mon application en entrant le nom de ma machine dans la barre d'adresse : wks...
Problème : depuis Firefox, si j'entre le nom de la machine, j'ai l'erreur "503 Service Unavailable - Failed to resolve the name of server wks... to connect".
Par contre, si j'entre l'adresse ip de ma machine, j'accède bien à l'application depuis Firefox.
Note 1 : le fichier "hosts" de Windows n'est pas utilisé.
Note 2 : avec le navigateur IE 6, pas d'erreur. Avec Firefox 3.1 : erreur 503.
Voici mon 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
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 ServerRoot "C:/Program Files/Wamp/bin/apache/apache2.2.11" Listen 80 LoadModule php5_module "C:/Program Files/Wamp/bin/php/php5.2.9-2/php5apache2_2.dll" ServerName wks...:80 DocumentRoot "F:/Appli/www/" <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> <Directory "F:/Appli/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>
Quelqu'un saurait-il pourquoi j'ai une erreur lorsque j'entre le nom de la machine depuis Firefox alors que sous Internet Explorer je n'ai pas d'erreur?
Partager