Hello guys,
I need to install mod_watch for apache and use it along with a nice plugin for Munin
MuninExchange
The plugin monitors apache request for every host separately so it's very easy to see websites traffic spikes
I could install mod_watch 4.3 for apache 2.2 but I can't make it report the statistics when accessing http://localhost/watch-info or http://127.0.0.1/watch-info
If I add the directives outside the vhosts i get a 404 error when I try to access the weblink, but if I add the directives inside one virtualhost and access like http://vhost/watch-info it does work ok
Any ideea what I can make to get the statistics on localhost ? (If I didn;t had cPanel on the server everything was very simple but with cPanel something is not working ok, cpanel is blocking the request ??)PHP Code:<IfModule mod_watch.c>
# Allows the URL used to query virtual host data:
#
# http://www.snert.com/watch-info
#
<Location /watch-info>
SetHandler watch-info
Order allow,deny
Allow from 127.0.0.1
</Location>
# Intended for debugging and analysis of shared memory
# hash table and weenie files:
#
#http://127.0.0.1/watch-table
#
<Location /watch-table>
SetHandler watch-table
Order allow,deny
Allow from 127.0.0.1
</Location>
<Location /watch-list>
SetHandler watch-list
Order allow,deny
Allow from 127.0.0.1
</Location>
</IfModule>



LinkBack URL
About LinkBacks
Reply With Quote





