???紵 发表于 2015-8-1 11:58:12

apache rewrite 支持post 数据

  在rewriterule后加上参数
  P表明force proxy,需要mod_proxy以及根据相应协议的proxy模块比如mod_http_proxy
  实际上这个时候apache就充当了反向代理的功能。
  “A reverse proxy is activated using the ProxyPass directive or the flag to the RewriteRule directive”
  
  
  curl –L “” –d ””
  done
  顺便罗嗦一句forward proxy和reverse proxy
  forward proxy,客户端知道自己请求的是哪台服务器,只要proxy做个转发就行了。
  而reverse proxy,客户端并不知道自己请求的是哪台服务器。
页: [1]
查看完整版本: apache rewrite 支持post 数据