想要使web目录下,某目录下的文件列表显示而不是显示"You don't have permission to access / on this server"

需要在httpd.conf文件中加上下面的配置信息,路径可以是绝对路径,最好它加在httpd.conf文件的最下方,并注释

<Directory "../htdocs/test">

Options Indexes FollowSymLinks
</Directory>

去掉"

相关文章:

  • 2021-11-27
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2021-07-06
  • 2021-12-27
相关资源
相似解决方案