Operating System - HP-UX
1825576 Members
2065 Online
109682 Solutions
New Discussion

Re: Apache mod_auth woes in nested directory container

 
Ralph Grothe
Honored Contributor

Apache mod_auth woes in nested directory container

Hi,

though this isn't a webserver forum I hope it is ok to post this as many of you might also be seasoned apache admins.

I can't see why this isn't working
because this looks like a trivially simple matter.

In my httpd.conf I have these stanzas

Alias /munin "/var/opt/munin/html"

Options Indexes
AllowOverride None
Order allow,deny
Allow from 127.0.0.1 123.123.123.0/24
AuthType Basic
AuthName "GBL Munin Stats"
AuthUserFile conf/munin-users
Require user munin



Options Indexes
Order allow,deny
Allow from 127.0.0.1 123.123.123.0/24
AllowOverride None
AuthType Basic
AuthName "SUB Munin Stats"
AuthUserFile conf/munin-users
AuthGroupFile conf/munin-groups
Require group sub


Of course both auth files exist in ServerRoot/conf and contain valid user, group and passwd entries as crypt hashes generated via htpasswd.

While I have no problem at all to authorize to the GBL realm as user munin,
when I do try to authorize to the SUB realm
my browser continuesly is served a 407 with repeated cred form popping up,
and in error_log entries of the form: "user blabla not allowed access (despite being a valid entry in munin-users and in the sub group of munin-groups.

I perused all applicable sections of the mod_auth docs online but found no hint whatsoever if, as I suspect, my nested directory container could possibly impair this.

Regards

Ralph
Madness, thy name is system administration
1 REPLY 1
RobertK_1
Occasional Advisor

Re: Apache mod_auth woes in nested directory container