开发者

RewriteRule: different result depending on the PC

开发者 https://www.devze.com 2023-02-14 20:02 出处:网络
I have t开发者_C百科his line in my .htaccess RewriteCond %{SERVER_PORT} ^443$ RewriteCond %{HTTP_HOST} !^test.mypage.eu [NC]

I have t开发者_C百科his line in my .htaccess

RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{HTTP_HOST} !^test.mypage.eu [NC] 
RewriteRule (.*)$ https://test.mypage.eu [R=301,L]

When i do the request, it's doing the redirection OK from one PC but from another one no. Any idea what can be the problem?

Regards

Javi


The problem is most likely browser cache. Make sure you clear your cache on the browser that is misbehaving. Since a redirect is issued by the server, the results are not ordinarily going to vary from one client to another.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号