摘抄。同以下博主遇到同样问题,故此记录。

作者:ChasingdreamLY 
原文:https://blog.csdn.net/qq_26591517/article/details/80414073 
--------------------- 

百度搜索了快两小时,发现网上答案靠谱的真不多,虽然学会了之后还是挺简单,这里做个记录:
1. 修改httpd.conf文件
ctrl+F搜索DocumentRoot ,将路径换成你想要的目录
2. 修改/usr/local/apache/conf/extra/httpd-vhost.conf文件,
操作方法同第一步
3. 重启apache 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2021-12-05
  • 2021-11-05
  • 2021-07-30
  • 2022-01-07
  • 2021-11-30
猜你喜欢
  • 2021-08-26
  • 2021-11-27
  • 2021-05-07
  • 2022-12-23
  • 2021-12-24
  • 2021-06-20
相关资源
相似解决方案