Re: [Monitorix-general] permission to access /monitorix-cgi/monitorix.cgi

2011-02-03 Thread Jordi Sanfeliu
Hi Spud,


Spud wrote:
 Hi,
 
[...]
 
 You don't have permission to access /monitorix-cgi/monitorix.cgi on this 
 server.
 
 If I log into the server start firefox as root it works fine.
 

This is a common question being asked very often lately, perhaps it's 
time to include a new entry in the FAQ section.

The new Monitorix 2.0.0 changed the location (on RedHat/Fedora/CentOS 
systems) of its CGI (monitorix.cgi) from '/var/www/cgi-bin/' to 
'/usr/share/monitorix/cgi-bin/' or whatever the $BASE_DIR option in 
'/etc/monitorix.conf' is pointing on.

You don't need to reflect this change in the Apache configuration since 
Monitorix already did this for you with the file 
'/etc/httpd/conf.d/monitorix.conf'.

In that file thought Monitorix restricts, by default, to 127.0.0.1 the 
only allowed IP to access the CGI:

Directory /usr/share/monitorix/cgi-bin/
 DirectoryIndex monitorix.cgi
 Options ExecCGI
 order deny,allow
 deny from all
 allow from 127.0.0.1
/Directory

Just change the last line by something wider like this:

allow from all

And restart Apache for the changes to take effect:

# service httpd restart

Hope that helps you.
Best regards.

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general


[Monitorix-general] permission to access /monitorix-cgi/monitorix.cgi

2011-02-02 Thread Spud
Hi,

I have been using monitorix for many years now without problem on my fedora
server until updating to 2.0.

Following the instructions here www.monitorix.org/news.html I removed all
the .rrd files and renamed the monitorix.conf before installing.

Now when I try to access Monitorix I get

Monitorix
v2.0.0
Daily  Weekly  Monthly  Yearly

Click on daily hit OK and get this

Forbidden

You don't have permission to access /monitorix-cgi/monitorix.cgi on this
server.

If I log into the server start firefox as root it works fine.

So I go looking for this monitorix.cgi to change the permission but I cannot
find this file anywhere.

[root@homer ~]# locate monitorix.cgi
/var/www/cgi-bin/monitorix.cgi
[root@homer ~]# cd /var/www/cgi-bin/
[root@homer /var/www/cgi-bin]# ls -al
total 8
drwxr-xr-x 2 root root 4096 2011-02-03 14:11 .
drwxr-xr-x 8 root root 4096 2008-07-15 05:38 ..
[root@homer /var/www/cgi-bin]#

Where the hell is this monitorix.cgi file because I'm  completely lost here
or am I heading in the wrong direction?

Thanks in advance

-- 
db

It denos't mtater waht oredr the ltteers in a wrod are, it's olny iprmoatnt
taht the frist and lsat ltteer be at the rghit pclae.The rset can be a total
mses and you can sitll raed it wouthit porbelm.Tihs is bcuseae the huamn
mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general