Apache2 sends two HTTP headers with a mapped “nph-” CGI

大城市里の小女人 提交于 2019-12-01 06:26:40

I don't think it's possible (directly) on the 2.4.x source code. As you correctly pointed out the bug is currently in reopened status.

The proposed patch consists of two main modification:

  1. Fix the nph- detection (and this part is currently in the source tree)
  2. Getting rid of all remaining output filters (this part is missing in the source tree)

I'm not able to test, but I think it's possible to workaround this bug using mod_rewrite: Looking in mod_rewrite documentation seems working just fine with nph

You can find a complete nph- + mod_rewrite example in documentation page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!