apache rewrite 支持post 数据

在rewriterule后加上参数[P]

P表明force proxy,需要mod_proxy以及根据相应协议的proxy模块比如mod_http_proxy

实际上这个时候apache就充当了反向代理的功能。

“A reverse proxy is activated using the ProxyPass directive or the [P] flag to the RewriteRule directive”

 

 

curl –L “” –d ””

done

顺便罗嗦一句forward proxy和reverse proxy

forward proxy,客户端知道自己请求的是哪台服务器,只要proxy做个转发就行了。

而reverse proxy,客户端并不知道自己请求的是哪台服务器。

转载于:https://www.cnblogs.com/donj/archive/2012/09/19/2694162.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值