RewriteRule violates while switching from https to http

后端 未结 4 2012
不思量自难忘°
不思量自难忘° 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:16

    you can solve this by creating the domain alias

    You can't do it within .htaccess, but within a http.conf section you can use the ServerName and ServerAlias directives to accomplish this.

提交回复
热议问题