Il faut d'abord installer wampserver sur l'autre HD ou partition et après copier coller www sur le nouveau wamps installé, bien sûr, il faut effacer avant le www de la nouvelle installation
je souhaite également déplacer le dossier www sur une autre partition et j'ai essayé ta méthode mais elle ne foctionne pas, losrque je relance WampServer mon dossier www est toujours celui à l'emplacement : c:/wamp/www/
tu dois mettre par exemple pour mettre ton site sur d:/wamp/www au lieu de c:/wamp/www
dans le fichier http.conf C:\wamp\bin\apache\apache2.2.8\conf\httpd.conf
j'ai pris la méthode de optitech cela fonctionne mais il faut changer aussi
DocumentRoot "c:/wamp/www/"
en
DocumentRoot "d:/wamp/www/"
et
<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
# # 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 AllowOverride AuthConfig # # 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 Allow from 90.59.101.4
</Directory>
en
<Directory "d:/wamp/www/"> ###### la modification et ici # # 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
# # 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 AllowOverride AuthConfig # # 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 Allow from 90.51.101.47