我在将内容上载到wordpress时遇到此错误。
拒绝访问
你没有权限访问'
http://example.com/xxx/wp-admin/post.php
下面是.htaccess。
cat /var/www/html/insurance-investment-knowledge/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /insurance-investment-knowledge/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /insurance-investment-knowledge/index.php [L]
</IfModule>
我检查了mod security,但它没有安装在系统上,所以我认为添加不会有任何区别
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
请建议我如何解决这个问题。
谢谢。