最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

filter - Best way of complex output filtering in apache - Stack Overflow

programmeradmin4浏览0评论

I want to filter output in Apache responses in a complex way.

One way would be ExtFilterDefine from mod_ext_filter, but the script would be called every time for every request, so this would be a large overhead if there are many http requests to be filtered.

Is there any more "simple" and more powerful way to pass the final response output to an external service? I think about a kind of api, maybe itself available by http(s) which could "get" the original response including headers, modifying it and then sending back the "new" response.

I tried to find out myself, but neither ChatGPT nor Bing Copilot gave me answers. They suggested some stuff with Proxy etc., but the proxy itself cannot deliver the response. I need just some kind of filtering hook.

Thanks!

发布评论

评论列表(0)

  1. 暂无评论