我是设置Apache HTTP新手,并且必须STIG已经运行的Apache HTTP 2.2。 ( http://iase.disa.mil/stigs/app-security/web-servers/Pages/index.aspx )。 对于其中的一个规则,它说以下内容
Edit the httpd.conf file and add one of the following to the enabled Options directive: +IncludesNoExec -IncludesNoExec -Includes Remove the 'Includes' or '+Includes' setting from the options statement.
我去了httpd.conf文件。 然而,我很困惑我会把这些线路放在哪里。 有没有人有任何洞察到这些Options directive并在哪里设置?
必须为包含shtml文件的目录指定指令(通常在<Directory>部分中,但是,如果设置了AllowOverride选项,则该指令在.htaccess文件中也是有效的)。