您的位置:首页 > 运维架构 > Apache

更改Apache默认网站根目录

2009-04-30 11:01 351 查看
转载自:http://www.800l.com/apache-htdocs-moved.html

主配置文件在~/conf/httpd.conf

1.找到 DocumentRoot “D:/Apache/htdocs” 将“D:/Apache/htdocs”改为你自定义的网站目录;

2.找到 <Directory “D:/Apache/htdocs”> 将“D:/Apache/htdocs”改为你自定义的网站目录。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: