Home  >  Article  >  Backend Development  >  APMServ怎么改默认web目录

APMServ怎么改默认web目录

WBOY
WBOYOriginal
2016-06-13 13:33:151069browse

APMServ如何改默认web目录
我把APMServ解压在D盘了,我想在我的F盘建一个www根目录,里面放代码,要怎么实现。

------解决方案--------------------
万变不离其宗,找到apache的目录,修改conf下的httpd.conf文件,修改其中的DocumentRoot:
DocumentRoot "f:/www"
搜索(This should be changed to whatever you set DocumentRoot to)这句话,找到其下2行的
Directory改为:


重启apache即可

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn