开发者

mod_rewrite P flag sets X-Forwarded-For?

开发者 https://www.devze.com 2023-02-05 05:44 出处:网络
Does the Proxy flag in mod_rewrite set the X-Forwarded-For header? 开发者_高级运维If not, is there any way to set this header prior to doing the redirect?

Does the Proxy flag in mod_rewrite set the X-Forwarded-For header? 开发者_高级运维If not, is there any way to set this header prior to doing the redirect?

Thanks for your help!


I have no practical experience with it, but according to Wikipedia's article on X-Forwarded-For, Apache's mod_proxy (which handles the P flag) does set the header.

The mod_proxy docs themselves seem silent on the issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消