摘要: 打开Apache配置文件httpd.conf,找到DocumentRoot,将原来的路径那一行用#注释掉,再在下面写上自已的路径,比如这里我用的是DocumentRoot "C:/MyFiles".改好后如下图所示: 改完可能会出现You don't have permission to access / on this server的情况,出现这种情况则需要在配置文件中再改一项内容:配置文件中定义了默认对网站根的访问权限:# Each directory to which Apache has access can be configured with respe 阅读全文
posted @ 2013-12-10 21:37 ~~Snail~~ 阅读(706) 评论(0) 推荐(0) 编辑