Hello guys,
I try to install mod_watch_4.3 on a new VDS with cPanel/WHM and
apache_watch_ plugin for Munin monitoring service.
I think the mod_watch is successfully installed because I can see this in the phpinfo()
PHP Code:
SERVER_SIGNATURE <address>Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_watch/4.3 </address>
SERVER_SOFTWARE Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_watch/4.3
As I saw the notice to not edit manualy the httpd.conf, I did so and added the directive in WHM > Apache Configuration > Include Editor on the "Pre Main Include"
here is what I added there :
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 localhost
</Location>
# Allows the URL used to query file owner and web
# server data:
#
# http://www.snert.com/~achowe/watch-info
# http://www.snert.com/~SERVER/watch-info
#
<Location /~*/watch-info>
SetHandler watch-info
</Location>
</IfModule>
when I try to test the plugin, running the command:
# ./mod_watch.pl -f ifRequests,ifDocuments
http://127.0.0.1/watch-list/
I get this error in apache error_log
[Sat Jan 09 15:06:31 2010] [error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/watch-list
I followed instructions mainly from this website
http://www.freshnet.org/wordpress/20...st-with-munin/
Any ideea what might be the issue ?
Thank you advance.