LINUX.ORG.RU
ФорумAdmin

munin. права доступа

 


0

1

Упорно выдает мне «You don't have permission to access /munin/ on this server.».

munin.conf:

dbdir   /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir  /var/run/munin

tmpldir /etc/munin/templates

includedir /etc/munin/munin-conf.d

[firefly]
    address 127.0.0.1
    use_node_name yes

/etc/munin/apache.conf:

Alias /munin /var/cache/munin/www


<Directory /var/www/munin>
        Order allow,deny
        Allow from 192.168.1.10
         Options FollowSymLinks SymLinksIfOwnerMatch

    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresDefault M310
    </IfModule>

</Directory> 

ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
<Location /munin-cgi/munin-cgi-graph>
        Order allow,deny
        Allow from 192.168.1.10
Options FollowSymLinks SymLinksIfOwnerMatch

        <IfModule mod_fastcgi.c>
                SetHandler fastcgi-script
        </IfModule>
</Location>

ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
<Location /munin-cgi/munin-cgi-html>
        Order allow,deny
        Allow from 192.168.1.10
Options FollowSymLinks SymLinksIfOwnerMatch

        <IfModule mod_fastcgi.c>
                SetHandler fastcgi-script
        </IfModule>
</Location>

Version: 2.0.6-4

Перемещено beastie из general

Deleted

Ответ на: комментарий от beastie

Кто выдаёт, индеец?

Да

Какие права на /var/cache/munin/www/ ? www-data права там смотреть имеет?

copy@firefly:/var/cache/munin$ ls -la 
total 12
drwxrwxrwx  3 munin www-data 4096 May  2 19:15 .
drwxr-xr-x 14 root  root     4096 May  2 19:15 ..
drwxrwxrwx  2 munin www-data 4096 Apr 16 17:17 www
Deleted
()

Почему alias /munin указывает на /var/cache/munin/www, который больше нигде не упоминается?

undertaker ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.