BackupPC-users

Re: [BackupPC-users] Forbidden You don't have permission to access /BackupPC on this server.

2015-09-24 17:02:11
Subject: Re: [BackupPC-users] Forbidden You don't have permission to access /BackupPC on this server.
From: Timothy Murphy <gayleard AT eircom DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 24 Sep 2015 21:59:34 +0100
Les Mikesell wrote:

>> I don't understand why there is the double restriction
>>   Allow from
>> and
>>   Require
>> in /etc/httpd/conf.d/BackupPC.conf

> The comments in the chunk as posted made it pretty clear that one part
> was for Apache 2.2 and one for 2.4.
> 
>    <IfModule mod_authz_core.c>
>    # Apache 2.4
>    <RequireAll>
>   ## Require valid-user
>    Require all granted
>    <RequireAny>
>    Require local
>    </RequireAny>
>    </RequireAll>
>   </IfModule>
>   <IfModule !mod_authz_core.c>
>    # Apache 2.2
>    order deny,allow
>    deny from all
>   ## allow from 127.0.0.1
>   allow from all
>   ## allow from ::1
>   ## require valid-user
>    require all granted
>   </IfModule>

Apologies - I found my /etc/httpd/conf.d/BackupPC.conf
was a mixture or past and present.

I guess I would still wonder why there has been this change
from the classical "allow from" to "Require ...",
which as far as I can see has exactly the same meaning.

-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin



------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>