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

Reply via email to