首页 > 解决方案 > 带有 URL 掩码的域重定向

问题描述

我正在使用带有 apache 网络服务器的 Cloud Linux 服务器。我需要使用 URL 掩码启用从“abcexam.in”到“xyzexam.com”的域转发。为了实现这一点,我在 abcexam.in Virtualhost 中使用了反向代理,如下所示。

带有反向代理的 VirtualHost 部分的屏幕截图

此方法仅适用于不适用于 https:// 的 http:// 网站(当目标 URL 为 https:// 时无效)

是否需要在现有设置中进行任何更改。

标签: apachemod-rewritevirtualhostmod-proxy

解决方案


推荐阅读