mod_rewrite 重定向过多

时间:2021-06-22 22:09:17

标签: apache mod-rewrite cloudflare

我收到太多重定向错误,我找不到问题,请帮助我。

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP:CF-IPCountry} ^(GB)$
RewriteCond %{REQUEST_URI} !(?:gif|png|jpg|jpeg|css|js|woff|woff2|ttf|svg|eot|/ca/(.*)|/fr/(.*)|/de/(.*)|/es/(.*)|/it/(.*))$ [NC]
RewriteRule !^gb/ /gb%{REQUEST_URI} [NC,NE,R,L]
</IfModule>

0 个答案:

没有答案
相关问题