Je travaillais sans problème avec une version antérieure de wamp5 et je suis coincé dans ma tentative de migration vers WampServer:
étape 1: Si je change le Document Root pour c:/www au lieu de c:/wamp/www (2 lignes à changer dans httpd.conf), je redémarre, j'accède à localhost, je récupère l'injure "Forbidden / You don't have permission to access / on this server", et au log je trouve: [Sat Jan 26 22:41:04 2008] [error] [client 127.0.0.1] (OS 5)Accès refusé. : Cannot map GET / HTTP/1.1 to file
étape 2: Si je déplace un répertoire projet c:/www/proj2 en c:/wamp/www/proj2 pour travailler avec la conf par défaut, je reçois l'injure "Forbidden / You don't have permission to access /proj2/ on this server.", et au log je trouve: [Sat Jan 26 22:51:20 2008] [error] [client 127.0.0.1] (OS 5)Accès refusé. : Cannot map GET /proj2/ HTTP/1.1 to file, referer: [localhost]
étape 3: Si je crée un répertoire c:/wamp/www/proj3 et que j'y recopie tout ce qu'il y a dans c:/wamp/www/proj2 précédent, alors là ça marche!!!
J'ai tendance à conclure de tout cela que WampServer version 2 ne peut pas récupérer des répertoires projet développés avec des versions Wamp5 antérieures. Pourquoi? Mystère...
faites une recherche dans le forum avec "windows 2000", la recherche fonctionne mais il faut cliquer ensuite sur la ligne "Cliquer pour retourner à� la recherche." pour voir les résultats...
petit extrait :
there have been some issues with win2k and wamp. search the forum for windows 2000
I am just trying this for the first time. On my windows 2000 I also get the 403 error.
I was able to resolve it by following the following steps. 1 from the forums and 1 I figured ou myself.
1. From forum: The Virtuals are not set up right on the 2k. Copy the 'phpmyadmin' into the wamp\www\ directory and rename it to 'phpmyadmin2' Actually creating a working Virtual should be the real solution here but this works.
2. Left click on your WAMP icon and go to Logs > Apache Error Logs. Does your 2000 Server log look like this?
[error] [client 0.0.0.0] client denied by server
There is a restriction in the Apache2\conf\httpd.conf file where only 127.0.0.1 can access the server.
Open up the 'httpd.conf' file.
Look for this
# 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 # [httpd.apache.org] # for more information. # Options Indexes FollowSymLinks +ExecCGI
# # 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 Deny,Allow Deny from all Allow from 127.0.0.1
Change the bottom Line so it has Allow from 0.0.0.0 also. For some reason it thinks the Windows 2000 is 0.0.0.0.
Deny from all Allow from 127.0.0.1 Allow from 0.0.0.0
Engage the Webserver like this [127.0.0.1]
Options: Répondre•Citer ce Message•MP•Suivre cette discussion•Signaler Re: 403 forbidden error Envoyé par: eelcod (212.45.52.---) Date: 02 octobre 2007 08:53
There's is a easier way. You were right with the rule Allow from, however to enable phpmyadmin you shouw add also Allow from 0.0.0.0 inside the phpmyadmin alias file. This one can be found in: c:\wamp\apache2\conf\alias. --------- If you use win2k, try adding the following line in the httpd.conf:
<Directory> ... Allow from 0.0.0.0 ... </Directory>
I think the problem occurs when trying to access from local computer. The problem is apache 2.2 on win2k identified the client ip as 0.0.0.0.
Hope this works.
It works fine for me.
Options: Répondre•Citer ce Message•MP•Suivre cette discussion•Signaler Re: Im new... localhost error Envoyé par: CyberSpatium (---.hsd1.or.comcast.net) Date: 22 ao�t 2007 12:49
poelee wrote:
> If you use win2k, try adding the following line in the > httpd.conf: > > <Directory> > ... > Allow from 0.0.0.0 > ... > </Directory> > > I think the problem occurs when trying to access from local > computer. The problem is apache 2.2 on win2k identified the > client ip as 0.0.0.0.
nice one --------------------------- just put the 3 lines like so in your httpd.conf, if you have the same problem as me:
EnableMMAP off EnableSendfile off Win32DisableAcceptEx