Apache2代理到查询字符串中的url

时间:2016-08-14 11:18:01

标签: mod-rewrite proxy cors apache2

我需要设置Apache2来代理像

这样的请求

http://localhost/proxy?target=http://any.other.host?whatever

http://any.other.host?whatever

我需要它来绕过一个普遍的"办法。如果我事先知道any.other.host的所有可能值,我可以为mod_proxy设置多个规则,但我不会......

Apache2完全可以吗?有什么想法吗?

谢谢,鲍里斯。

0 个答案:

没有答案