.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ========== wt\_404log ========== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Alex Kellner :Changed: 2008-09-08T12:18:51 :Author: Alex Kellner :Email: Alexander.Kellner@einpraegsam.net :Info 3: :Info 4: .. _wt-404log: wt\_404log ========== Extension Key: **wt\_404log** Copyright 2005-2008, Alex Kellner, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.com .. _Table-of-Contents: Table of Contents ----------------- **wt\_404log 1** **wt\_404log introduction 2** What does it do? 2 **Screenshots 3** **How to use 4** Step by step: 4 **Configuration in the extension manager 5** **FAQ 6** **Todos 7** **Changelog 8** **Additional links 9** .. _wt-404log-introduction: wt\_404log introduction ----------------------- .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ If you want to log page request of non-existing pages in your database, you can use this plugin. If a non-existing page was chosen, the user will be redirected to a defined page and a log is written to db. This will be logged if an error occures: - Requested URL - Referer - User\_Agent - IP address - User from extern or intern - Name of spider (if user is a spider) .. _Screenshots: Screenshots ----------- |img-1| Pic1: Show details on an error |img-2| Pic2: Errors with list module .. _How-to-use: How to use ---------- .. _Step-by-step: Step by step: ^^^^^^^^^^^^^ - Import wt\_404log from online repository - Install this extension - Define some constants in the ext manager (logPID, targetURL, header, debug, ownURL) - Enter the install tool and set this both configurations: - [FE][pageNotFound\_handling] = USER\_FUNCTION:typo3conf/ext/wt\_404log /pi1/class.tx\_wt404log\_pi1.php:tx\_wt404log\_pi1->main - [FE][pageNotFound\_handling\_statheader] = HTTP/1.0 404 Not Found - That's all .. _Configuration-in-the-extension-manager: Configuration in the extension manager -------------------------------------- .. ### BEGIN~OF~TABLE ### .. _Name: **Name** ^^^^^^^^ .. container:: table-row a **Name** b **Explanation** c **Default value** .. _logPID: logPID ^^^^^^ .. container:: table-row a logPID b Where to save log entries: Use any PID where to save the log entries (0 for rootpage) c 0 .. _targetURL: targetURL ^^^^^^^^^ .. container:: table-row a targetURL b Redirect URL: Enter any URL for a redirect (e.g. http[colon]//www.yourdomain.com) c http://www.yourdomain.com .. _header: header ^^^^^^ .. container:: table-row a header b Header status: Set own header status if error (e.g. HTTP/1.0 404 Not Found) c HTTP/1.0 404 Not Found .. _ownURL: ownURL ^^^^^^ .. container:: table-row a ownURL b Enter own url: To differ between referers from extern and intern, you can enter your own url (e.g. yourdomain.com) c yourdomain.com .. _debug: debug ^^^^^ .. container:: table-row a debug b Activate debug mode: If you set this, database log and redirect will be disabled and a debug output will be enabled c 0 .. ###### END~OF~TABLE ###### .. _FAQ: FAQ --- .. _generated: ((generated)) ^^^^^^^^^^^^^ .. _wt-404log-installation-need-help: wt\_404log installation – need help! """""""""""""""""""""""""""""""""""" First of all, we advise you to activate the debug mode and enter a strange url like `http://www.yourdomain.com/nonexistingpage.html `_ to your browser .. _Where-can-a-find-the-logs: Where can a find the logs? """""""""""""""""""""""""" Just use the list modul in the backend and choose the page which you have defined in the extension manager (default is root page) .. _How-can-I-export-the-logs: How can I export the logs? """""""""""""""""""""""""" You can export the logfiles in the TYPO3 way: CSV export in the list modul |img-3| .. _Todos: Todos ----- Sending an email to an admin in addition to the database log Do you need a new feature? Maybe we can help you, so just write us! .. _Changelog: Changelog --------- .. _generated: ((generated)) ^^^^^^^^^^^^^ .. _wt-404log-version-0-2-x-alpha: wt\_404log version 0.2.x alpha """""""""""""""""""""""""""""" .. _Initial-Release-to-TER-on-26-08-2008-version-0-2-0: Initial Release to TER on 26.08.2008 version 0.2.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Redirect changed from 301 to meta refresh (so google gets the 404 code!) - DB log can be disabled .. _wt-404log-version-0-1-x-alpha: wt\_404log version 0.1.x alpha """""""""""""""""""""""""""""" .. _Initial-Release-to-TER-on-26-08-2008-version-0-1-2: Initial Release to TER on 26.08.2008 version 0.1.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Small bugfix in redirect - Saves if user is a bot - Saves if user comes from extern .. _Initial-Release-to-TER-on-26-08-2008-version-0-1-1: Initial Release to TER on 26.08.2008 version 0.1.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Initial release to TER .. _Additional-links: Additional links ---------------- **You can use one of the following links, to get more informations about this plugin:** - Authors (Alex Kellner) homepage: `http://www.einpraegsam.net `_ - Tuning parts for your car: `http://www.wunschtacho.de `_ - Stuff for snowboarder and skier: `http://www.justpowder.de `_ Do you need help with this plugin: `http://www.typo3.net `_ |img-4| wt\_404log - 9 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.jpeg .. :align: left .. :border: 0 .. :height: 293 .. :id: Grafik2 .. :name: Grafik2 .. :width: 493 .. |img-2| image:: img-2.jpeg .. :align: left .. :border: 0 .. :height: 217 .. :id: Grafik1 .. :name: Grafik1 .. :width: 669 .. |img-3| image:: img-3.jpeg .. :align: left .. :border: 0 .. :height: 155 .. :id: Grafik3 .. :name: Grafik3 .. :width: 565 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102