修改默认主页:
输入这个命令 grep -iR DirectoryIndex /etc/apache2
查看 DirectoryIndex 在apache2哪个文件里面。
我的就是 这样的
/etc/apache2/mods-enabled/dir.conf: DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
/etc/apache2/mods-available/dir.conf: DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm

相关文章:

  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2021-09-17
  • 2021-12-31
  • 2022-12-23
  • 2021-09-20
  • 2022-03-03
猜你喜欢
  • 2021-11-01
  • 2021-06-24
  • 2021-11-28
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2021-04-26
相关资源
相似解决方案