简体   繁体   中英

Redirect from domain 1 to domain 2 without http code 301 or 302

I need to set an apache rule in order to redirect all the traffic from a domain 1 to a domain 2. The particularity of the request is that there must be only one call to the second domain with http code 200 and not two calls (one with 301/302 to the first domain and the second with 200 to the second domain). Pratically, for the client the redirect must be transparent.

Is it possible? Thanks.

避免重定向的唯一方法是将“域 1”设置为“域 2”的代理。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM