Search code examples
apacheloggingxampphttp-postconfig

how to config apache in xampp for logging post request


I run xampp and host DVWA on it. but didn't log all of http request and post request. how to change apache config file (httpd) to log full request? thanks. my apache config file is: https://www.filemail.com/d/vvkrdbixuqiaujz


Solution

  • finally I fix it: according to this post first uncomment LoadModule dumpio_module modules/mod_dumpio.so and second added this lines to httpd.conf in xampp:

    <IfModule dumpio_module>
      DumpIOInput On
      DumpIOOutput On
      LogLevel warn dumpio:trace7
    </IfModule>
    

    and restart apache. now if search in error.log find text in post body.