htaccess重定向不会第一次呈现页面

时间:2017-07-26 05:36:15

标签: .htaccess redirect url-rewriting url-routing

  

如果以下2条件为真,则应重定向



RewriteCond %{HTTP_COOKIE} logged=(666);? [NC]
RewriteCond %{HTTP_COOKIE} tenant=((?:444|NOTFOUND));? [NC,OR]
RewriteCond %{HTTP_COOKIE} tenant=((?:555|NOTFOUND));? [NC]
RewriteRule ^ http://www.google.com  [R,L,QSD]




In Firebug i can able to see the response for the GET operation. But the page is not rendering for the 1st time. **2nd time if i refresh, the redirect is working.** Anyone please help me

0 个答案:

没有答案