Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 7217  / 3 Years ago, mon, august 9, 2021, 3:52:06

what could it be a reason for such an error:



If I go: http://myhost/munin/



I get 403 Error: Forbidden. You don't have permission to access /munin/ on this server.



Permissions for files are the following:



max@ubuntu:/var/www$ ls -l
total 8
-rw-r--r-- 1 www-data www-data 180 2011-12-28 16:06 index.html
drwxr-xr-x 3 www-data www-data 4096 2011-12-28 08:55 munin


ADDITIONAL:



Thank you very much for your help! I did fix it by deleting the dir and targeting munin output html to another dir (actually with the same permissions). I use that apache only for munin, so that strange behavior is ignored.



I did try to access that my numin stats via DNS name. All files in the same www dir were available, also all files in sub/sub/sub/dirs were also available. Only ../munin dir was not working as I expected for some unidentified reason.


More From » permissions

 Answers
7

Issues lies on the apache configuration for munin . As default apache config for munin will allow only the localhost. As you have used http://myhost/munin/. So, we have to modify the apache for the munin to access from all .You can find the default apache config for munin in dir /etc/munin/ as apache.conf .



Look for



Allow from localhost 127.0.0.0/8 ::1


Change to



Allow from all


After modifying restart the apache


[#41241] Tuesday, August 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
taigysel

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago
taigysel questions
;