What is the “All” in Options All -Indexes in .htaccess file?

懵懂的女人 提交于 2020-04-30 07:24:41

问题


What is the "All" in Options All -Indexes in .htaccess file?

Is it better than simple Options -Indexes line in .htaccess file of root folder?

Thank you!


回答1:


Options All means all options except MultiViews. The options list is :

  • ExecCGI
  • FollowSymLinks
  • Includes
  • IncludesNOEXEC
  • Indexes

Options All -Indexes means all options except MultiViews and Indexes for the folder.

It's better to specify only the options you want for this specific folder, ie with All, your server can execute CGI scripts on this directory (ExecCGI flag, is it what you really want?)



来源:https://stackoverflow.com/questions/39739020/what-is-the-all-in-options-all-indexes-in-htaccess-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!