从apache allowoverride none禁用.htaccess,仍然读取.htaccess文件
我已经将所有.htaccessconfiguration移动到<Directory>块中,并在默认和默认ssl中设置AllowOverride None 。 尽pipe重新启动apache后仍然在读取.htaccess文件。 我怎样才能完全closures阅读这些文件? 使用“AllowOverride”更新所有文件 /etc/apache2/mods-available/userdir.conf <IfModule mod_userdir.c> UserDir public_html UserDir disabled root <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all </LimitExcept> </Directory> </IfModule> /etc/apache2/mods-available/alias.conf <IfModule alias_module> # # Aliases: Add […]