一.修改默认根目录
1.修改apache目录下httpd.conf
将DocumentRoot及Directory修改为指定目录
httpd.conf2.修改apache\apache2.4.33\conf\extra下httpd-vhosts.conf文件
将DocumentRoot及Directory修改为指定目录
httpd-vhosts.conf3.完成
二.修改默认浏览器
将wampmanager.conf配置中navigator路径设置为浏览器路径
三.修改快捷菜单指向
1 修改C:\wamp\wampmanager.ini:
(1)打开:C:\wamp\wampmanager.ini
(2)查找:Type: item; Caption: "www 目录"; Action: shellexecute; FileName: "c:/wamp/www/"; Glyph: 2
(3)修改:Type: item; Caption: "www 目录"; Action: shellexecute; FileName: "e:/phproot/"; Glyph: 2
2 修改C:\wamp\wampmanager.tpl:
(1)打开:C:\wamp\wampmanager.tpl
(2)查找:Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "${wwwdir}"; Glyph: 2
(3)修改:Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "e:/phproot"; Glyph: 2
网友评论