Skip to content

pstuifzand/apache2-logging-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

In vhost:

    <Location />
        PerlInitHandler  Apache2Handler::Timer
        PerlLogHandler   Apache2Handler::Log
    </Location>

In DB:

    CREATE TABLE IF NOT EXISTS `http_request_log` (
        `id` int(11) NOT NULL auto_increment,
        `url` varchar(255) collate utf8_bin NOT NULL,
        `args` varchar(255) collate utf8_bin NOT NULL,
        `useragent` varchar(255) collate utf8_bin NOT NULL,
        `ip` int(10) unsigned NOT NULL,
        `referrer` varchar(255) collate utf8_bin NOT NULL,
        `ptime` decimal(22,5) NOT NULL,
        `dbtime` decimal(22,5) NOT NULL,
        `http_code` int(11) NOT NULL,
        `bytes_sent` int(11) NOT NULL,
        `logtime` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
        PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

About

HTTP request logging handlers for Apache2 mod_perl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages