apache - limitinternalrecursion wordpress permalinks -
i have nginx server proxy_pass-ing urls end in /blog ip address have wordpress instance running apache.
the issue having when enable permalinks limitinternalrecursion error. when don't enable permalinks works expected , can access of blog pages through proxy.
here contents of .htaccess file:
# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /blog/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /blog/index.php [l] </ifmodule> # end wordpress
edit:
i found out rewrite rule provided wordpress needed changed to:
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.+)$ /index.php/$1 [l,qsa] </ifmodule>
Comments
Post a Comment