mod_debug 1.0 review

Download
by rbytes.net on

The debug-mode is started by adding a ".debug" to filenames

License: GPL (GNU General Public License)
File size: 26K
Developer: Fabian Kreutz
0 stars award from rbytes.net

The debug-mode is started by adding a ".debug" to filenames. This module will then print some information about the request, before forwarding to the originally requested file.

Cookies and form-elements for that page can be edited with two forms in the debug-output. Later, I added the feature to print also the file with the ".debug"-suffix, if it exists. That way, you can statically add self-requests with given form elements.

Requirements:
Apache 2.x

Installation:

Download the mod_debug.c source code.

You'll need the include files, which can - in most distributions - be found in a separate httpd-devel- or apache-devel-packet.

Compilie the Modul by

apxs2 -c mod_debug.c

(for that you'll also need a compiler). The binary might also be named apxs (without 2).
You'll need root-rights for the next command.
apxs2 -i mod_debug.la
for installation. Remember the given installation path for the next step.
Load the module in the apache-configuration (e.g. /etc/httpd/httpd.conf):
LoadModule debug_module /path/to/apache/libs/mod_debug.so
Reload the apache server
apache2ctl graceful

mod_debug 1.0 keywords