发现apache错误日志存在如下输出:
/srv/www/htdocs/wordpress/wp-content/plugins/wp-webauthn/.htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
/wp-webauthn/.htaccess 内容为:
<Files composer.json>
Order Allow,Deny
Deny from all
</Files>
<Files composer.lock>
Order Allow,Deny
Deny from all
</Files>
apache2.4后访问控制语法已改变,似乎是因为使用了旧语法导致的问题。
开启mod_access_compat后问题解决。