Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```