首先处理哪个文件,index.php、index.htm 或index.html?

Pra*_*ady 1 apache-2.2

在Apache服务器中,如果域名www.abc.com有index.php、index.htm和index.html,当我在地址栏中输入www.abc.com时,首先处理哪些文件?有办法改变顺序吗?我知道我们可以在 IIS 中做到这一点。

Que*_*tin 5

顺序由DirectoryIndex指令指定。

  • 不,Apache 配置对我来说太简单了,无法每年花 500 美元购买 GUI。 (3认同)