BackupPC-users

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

2015-09-21 13:13:20
Subject: Re: [BackupPC-users] Forbidden You don't have permission to access /BackupPC on this server.
From: Bob of Donelson Trophy <bob AT donelsontrophy DOT net>
To: Les Mikesell <lesmikesell AT gmail DOT com>
Date: Mon, 21 Sep 2015 12:11:39 -0500

I really do not want to talk about top posting and the all the reasons I have little choice in the matter . . . please.

Regarding my permissions issue. I have really begun to think that CentOS 7 is a little too new for this particular installation. I am still learning about selinux and it's benefits but, I do not have time to wait much longer. So I have decided to start again with CentOS 6.7. I need this machine to be backing up. And I think I will find a solution and upgrade instructions (to CentOS 7) before 2020 when CentOS 6.7 is end of life. There is plenty of instructions to get C6.7 and BPC3.3.1 running.

Thanks for everyones suggestions on this . . . I may be back soon.

---

_______________________________

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com

"Everyone deserves an award!!"

On 2015-09-21 10:36, Les Mikesell wrote:

On Mon, Sep 21, 2015 at 7:03 AM, Bob of Donelson Trophy
<bob AT donelsontrophy DOT net> wrote:
First, my only comment on top posting. Here in the states most email clients default to top posting. Therefore, if I set my defaults to bottom post (as requested but not mandatory by all mailing list I participate in) my US customers (who, grant you, are NOT logical and think email should be in bottom post, logical order) reply to my emails with "your email response was empty" or "You didn't answer my question"
It's really not that hard to move your cursor around regardless of the
mailer default, is it?
# # htpasswd -c /etc/BackupPC/apache.users yourusername # AuthType Basic AuthUserFile /etc/BackupPC/apache.users ##AuthUserFile /etc/lib/BackupPC/passwd/htpasswd AuthName "BackupPC"
Did you run the htpasswd command to set a password for user BackupPC,
and is the /etc/BackupPC/apache.users file readable by the server?
<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 no longer have access to a bunch of Centos machines to check this,
but I think the apache 2.4 version above that would apply to centos 7
says the request has to come from the local host.   And that would
match your log file saying the client is denied access, not that the
server does not have file access permission.
I did notice "Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive" and I do not have an index.html file in /var/www/html/ but rather all the files that make up the "BackupPC" webpage. (*.gif, *.css, *.png, etc.)
Your DocumentRoot is set to /var/www/html so that's what you get if
you don't specify a path in your url.  If you use one of the Alias
names you shouldn't be going there.

------------------------------------------------------------------------------
_______________________________________________
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>