dougang6178 2011-12-14 17:51
浏览 51
已采纳

如何通过mod_wsgi捕获apache的所有http请求?

I need to capture all request of apache web server with mod_wsgi. Checking attacks of GET request.

  • 写回答

1条回答 默认 最新

  • dsdeeaquu38538545 2011-12-14 21:42
    关注

    You cant use mod_wsgi to capture any request to Apache. All you could do it use a WSGI middleware to capture details for requests going into a specific WSGI application. See:

    http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Request_and_Response

    BTW, your requirement is vague as to what exactly you want to catch. You should also look for other purpose built Apache modules. A module supporting use of a specific language isn't going to help you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?