RewriteRule violates while switching from https to http

后端 未结 4 2115
不思量自难忘°
不思量自难忘° 2021-01-29 04:40

I write a lot of RewriteRule in my .htaccess file , but problem occurs when I switch from https to http pages; it

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-29 05:02

    Your confusion over /about is due to redirecting to %{REQUEST_URI}, which isn't changed as you make substitutions. Capture the URI and use $1 if you don't really want the URI as it started uring this round of rewrite processing.

提交回复
热议问题