Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matsumotory/mod_request_dumper
output request_rec, server_rec, conn_rec on earch hook phases.
https://github.com/matsumotory/mod_request_dumper
Last synced: about 2 months ago
JSON representation
output request_rec, server_rec, conn_rec on earch hook phases.
- Host: GitHub
- URL: https://github.com/matsumotory/mod_request_dumper
- Owner: matsumotory
- Created: 2012-05-21T04:34:09.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T02:16:06.000Z (almost 10 years ago)
- Last Synced: 2024-10-18T18:28:28.446Z (3 months ago)
- Language: C
- Size: 102 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mod_request_dumper
Dump request_rec as JSON. Dump rquest_rec to /tmp/apache_dump.log or pipe.## Install
```
make
make install
```## Setting to httpd.conf
- Load
```
LoadModule request_dumper_module /usr/lib/httpd/modules/mod_request_dumper.so
```- set loggin
- file mode
```
DumpRequestLog "/tmp/apache_dump.log"
```- pipe mode
```
DumpRequestLog "| mongoimport -d apache -c request_rec"
```- dump hook phase
```
DumpPostReadRequest On
DumpTranslateName On
DumpMapToStorage On
DumpCheckUserId On
DumpTypeChecker On
DumpAccessChecker On
DumpAuthChecker On
DumpInsertFilter On
DumpFixups On
DumpQuickHandler On
DumpHandler On
DumpLogTransaction On
```