On Tue, Sep 22, 2015 at 5:48 PM, Timothy Murphy <gayle...@eircom.net> wrote: > On Tuesday 22 September 2015 14:30:34 Les Mikesell wrote: >> On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander <stor...@gmail.com> wrote: > >> I didn't mean there was a problem running 2.4, just that if you put >> 'Require Local' >> which I believe was in the other config posted, clients other than >> from the same host as the server will be denied access. >> http://httpd.apache.org/docs/2.4/mod/mod_authz_host.html > > > I don't understand why there is the double restriction > Allow from > and > Require > in /etc/httpd/conf.d/BackupPC.conf > > Both seem to me to have much the same effect. >
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> I assume that is to let the same config work with either version with the default restriction to localhost. But if you want to allow access from remote clients you have to edit the part that matches your system (inside the right IfModule block). -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/