如何为安装了MAMP的apache安装mod_authz_核心模块?
我有一个带有以下指令的.htaccess:如何为安装了MAMP的apache安装mod_authz_核心模块?,apache,mamp,mamp-pro,Apache,Mamp,Mamp Pro,我有一个带有以下指令的.htaccess: <RequireAll> Require all granted Require not ip xx.xx.xxx.xx </RequireAll> 要求所有授权 不需要ip xx.xx.xxx.xx 通过MAMP启动Apache时,我的Apache日志中出现以下错误: Invalid command '<RequireAll', perhaps misspelled or defined by a modu
<RequireAll>
Require all granted
Require not ip xx.xx.xxx.xx
</RequireAll>
要求所有授权
不需要ip xx.xx.xxx.xx
通过MAMP启动Apache时,我的Apache日志中出现以下错误:
Invalid command '<RequireAll', perhaps misspelled or defined by a module not included in the server configuration
无效命令“它可能已安装,只是没有加载。在主配置顶部附近查找注释掉的LoadModule
行。比如:
LoadModule authz_core_module modules/mod_authz_core.so
取消对它的注释并重新启动Apache。如果它不在那里,请尝试使用相同的路径格式将其添加到现有的LoadModule
指令中,这是基于上述模块名称和文件