2,187
edits
(Added "Add New Robots to Detection") |
m (→Add New Robots to Detection: Fixed a couple of errors) |
||
Line 81: | Line 81: | ||
== Add New Robots to Detection == | == Add New Robots to Detection == | ||
Locate the <code>robots.pm</code>, likely to be in one of the following locations, create a backup and then edit... | Locate the <code>robots.pm</code>, likely to be in one of the following locations, create a backup and then edit... | ||
* <code> ./usr/share/awstats/lib/robots.pm </code> | |||
* <code> ./usr/local/awstats/wwwroot/cgi-bin/lib/robots.pm </code> | |||
Robots need to be added to two arrays, <code>RobotsSearchIDOrder_listx</code> and <code>RobotsHashIDLib</code>. <code>RobotsSearchIDOrder_listx</code> is just an index, so if adding a number of new robots, create your listings for <code>RobotsHashIDLib</code>, then create a copy and delete the extraneous bits for <code>RobotsSearchIDOrder_listx</code>. | Robots need to be added to two arrays, <code>RobotsSearchIDOrder_listx</code> and <code>RobotsHashIDLib</code>. <code>RobotsSearchIDOrder_listx</code> is just an index, so if adding a number of new robots, create your listings for <code>RobotsHashIDLib</code>, then create a copy and delete the extraneous bits for <code>RobotsSearchIDOrder_listx</code>. | ||
Line 93: | Line 94: | ||
'proximic','<a href="http://www.proximic.com/info/spider.php" title="Bot home page [new window]" target="_blank">Proximic</a>', | 'proximic','<a href="http://www.proximic.com/info/spider.php" title="Bot home page [new window]" target="_blank">Proximic</a>', | ||
and an entry such as this for code>RobotsSearchIDOrder_listx</code> | and an entry such as this for <code>RobotsSearchIDOrder_listx</code> | ||
'proximic', | 'proximic', | ||