Skip to content
experimental admin tool for viewing BotTrap Logfiles
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
htt
languages
logs
.gitignore
CHANGELOG
LICENSE
README.md
backend.css
index.php
info.php
initialize.php
page.restrictor.php
precheck.php
tool.php

README.md

dbBotTrap

This experimental Admin-Tool for the Content Management Systems [WebsiteBaker] 1 or [LEPTON CMS] 2 enable you to view the Bot-Trap Logfiles which are created by a special file of the [Bot-Trap Project] 3.

Requirements

  • minimum PHP 5.2.x
  • using [WebsiteBaker] 1 or [LEPTON CMS] 2
  • Add-on [rhTools] 4 is installed

Installation

  • download the actual [dbBotTrap_x.xx.zip] 5 installation archive
  • in the Backend of the Content Management System select the installation archive from "Add-ons" -> "Modules" -> "Install module"

Now you must enable the tracking and blocking functions of Bot-Trap.

  • copy the file /modules/dbbottrap/page.restrictor.php to the root directory / of your domain (along with the config.php)
  • open the config.php with a texteditor

Insert the following code at the top of the config.php:

// init Page Restrictor first...
if (file_exists(dirname(__FILE__).'/page.restrictor.php')) {
  $logfile = dirname(__FILE__).'/modules/dbbottrap/logs/'.date('Ymd').'.log';
  define('PRES_LOG_FILE', $logfile);
  require_once(dirname(__FILE__).'/page.restrictor.php'); 
}

Save the config.php at the webserver and dbBotTrap is ready for use.

First steps

Open dbBotTrap in the backend of the Content Management System "Admin-Tools" -> "dbBotTrap".

dbBotTrap will prompt you the status of the Bot-Trap function. The list will be empty at this time.

You may test the installation with the [Bot-Trap Test Site] 6.

Please visit the Website of the [Bot-Trap Project] 3 to get further informations.

You can’t perform that action at this time.