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

2015-09-22 Thread Brad Alexander
On Tue, Sep 22, 2015 at 3:06 PM, Bob of Donelson Trophy <
b...@donelsontrophy.net> wrote:

> And you may be correct. I remember reading somewhere that one of the
> issues Apache 2.4 handles differently than Apache 2.2 is external access.
> And I searched for that information again and could not find it. (Bottom
> line, C6.7 is running and I have moved on.)
>
I don't know that that is the case, since I have been running it on
debian/sid since before apache 2.4 came out:

nanobit.org closed.
[storm@defiant ~]$ ssh root@farragut dpkg -l apache2
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  apache22.4.16-3 amd64Apache HTTP Server

>From my /etc/apache2/sites-enabled/default-ssl.conf:



ServerAdmin webmaster@localhost



DocumentRoot
/var/www

Options
FollowSymLinks
AllowOverride
None



Options Indexes FollowSymLinks
MultiViews
AllowOverride
None
Order
allow,deny
allow from
all
RedirectMatch ^/$
/backuppc/




ScriptAlias /cgi-bin/
/usr/lib/cgi-bin/

AllowOverride
None
Options +ExecCGI -MultiViews
+SymLinksIfOwnerMatch
Order
allow,deny
Allow from
all



SSLOptions +StdEnvVars


SSLOptions +StdEnvVars





> ---
>
> ___
>
> Bob Wooden of Donelson Trophy
>
> 615.885.2846www.donelsontrophy.com
> "Everyone deserves an award!!"
>
> On 2015-09-22 13:45, Les Mikesell wrote:
>
> On Mon, Sep 21, 2015 at 3:39 PM, Timothy Murphy  wrote:
>
> On Monday 21 September 2015 12:11:39 Bob of Donelson Trophy wrote:
>
> Regarding my permissions issue. I have really begun to think that CentOS 7
> is a little too new for this particular installation.
>
> I'm not sure what this means - you seem to have installed BackupPC OK.
>
> I think it is the difference between Apache 2.2 and 2.4.   The apache
> log said the configuration prevented the client from having access -
> and only the part of the config that applied to apache 2.2 was changed
> to allow access from remote clients.But, I don't have systems to
> test on anymore.
>
>
>
> --
>
> ___
> 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/
>
>
--
___
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/


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

2015-09-22 Thread Bob of Donelson Trophy
 

Les, 

What I was trying to say (and not very well) is that I was having
trouble finding the answers I needed. I had to get the backup server up
and running so I abandon the C7 version and reverted to C6.7 hoping
someday there will be a simple upgrade soon . . . as in next year or
maybe the year after. 

And you may be correct. I remember reading somewhere that one of the
issues Apache 2.4 handles differently than Apache 2.2 is external
access. And I searched for that information again and could not find it.
(Bottom line, C6.7 is running and I have moved on.) 

Thanks for your suggestion. I always appreciate your insight. 

---

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [1]

"Everyone deserves an award!!"

On 2015-09-22 13:45, Les Mikesell wrote: 

> On Mon, Sep 21, 2015 at 3:39 PM, Timothy Murphy  wrote:
> On Monday 21 September 2015 12:11:39 Bob of Donelson Trophy wrote: Regarding 
> my permissions issue. I have really begun to think that CentOS 7 is a little 
> too new for this particular installation. I'm not sure what this means - you 
> seem to have installed BackupPC OK.

I think it is the difference between Apache 2.2 and 2.4. The apache
log said the configuration prevented the client from having access -
and only the part of the config that applied to apache 2.2 was changed
to allow access from remote clients. But, I don't have systems to
test on anymore.

 

Links:
--
[1] http://www.donelsontrophy.com
--
___
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/


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

2015-09-22 Thread Les Mikesell
On Mon, Sep 21, 2015 at 3:39 PM, Timothy Murphy  wrote:
> On Monday 21 September 2015 12:11:39 Bob of Donelson Trophy wrote:
>
>> Regarding my permissions issue. I have really begun to think that CentOS
>> 7 is a little too new for this particular installation.
>
> I'm not sure what this means - you seem to have installed BackupPC OK.

I think it is the difference between Apache 2.2 and 2.4.   The apache
log said the configuration prevented the client from having access -
and only the part of the config that applied to apache 2.2 was changed
to allow access from remote clients.But, I don't have systems to
test on anymore.

-- 
  Les Mikesell
lesmikes...@gmail.com

--
___
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/


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

2015-09-22 Thread Les Mikesell
On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander  wrote:
>
>
> On Tue, Sep 22, 2015 at 3:06 PM, Bob of Donelson Trophy
>  wrote:
>>
>> And you may be correct. I remember reading somewhere that one of the
>> issues Apache 2.4 handles differently than Apache 2.2 is external access.
>> And I searched for that information again and could not find it. (Bottom
>> line, C6.7 is running and I have moved on.)
>
> I don't know that that is the case, since I have been running it on
> debian/sid since before apache 2.4 came out:
>
> nanobit.org closed.
> [storm@defiant ~]$ ssh root@farragut dpkg -l apache2
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name   Version  Architecture Description
> +++-==---=
> ii  apache22.4.16-3 amd64Apache HTTP Server
>
> From my /etc/apache2/sites-enabled/default-ssl.conf:
>
> 
> 
> ServerAdmin webmaster@localhost
>
> DocumentRoot /var/www
> 
> Options FollowSymLinks
> AllowOverride None
> 
> 
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Order allow,deny
> allow from all
> RedirectMatch ^/$ /backuppc/
> 
>
> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> 
> AllowOverride None
> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> Order allow,deny
> Allow from all
> 
> 
> SSLOptions +StdEnvVars
> 
> 
> SSLOptions +StdEnvVars
> 
> 
> 
>

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

-- 
  Les Mikesell
 lesmikes...@gmail.com

--
___
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/


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

2015-09-22 Thread Holger Parplies
Hi,

Les Mikesell wrote on 2015-09-22 14:30:34 -0500 [Re: [BackupPC-users] Forbidden 
You don't have permission to access /BackupPC on this server.]:
> On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander <stor...@gmail.com> wrote:
> > [...]
> > I don't know that that is the case, since I have been running it on
> > debian/sid since before apache 2.4 came out:
> > [...]
> 
> 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

or, more to the point, it seems to be a bug in the Centos 7 BackupPC package,
which provides an incorrect Apache configuration. It's neither an (upstream)
BackupPC issue nor an Apache problem/incompatibility. It might not even be a
Centos packaging error, if Centos default policy were to limit access to
localhost, but then again, it would be for both Apache 2.2 and 2.4, wouldn't
it?

Access policy really is a topic the individual admin will need to *think
about* and *set up correctly* anyway, unless you're on some sort of home
network ...

Regards,
Holger

--
___
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/


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

2015-09-22 Thread Holger Parplies
Hi,

Stefan Peter wrote on 2015-09-21 20:20:44 +0200 [Re: [BackupPC-users] Forbidden 
You don't have permission to access /BackupPC on this server.]:
> Dear Bob of Donelson Trophy
> 
> Please find my comments interspersed below:
> (this is the stanza I use for noobs)

[this is worth resending]

> On 21.09.2015 14:03, Bob of Donelson Trophy wrote:
> > First, my only comment on top posting.
> > 
> > [...]
> > I, like you, have to live with top posts occasionally, sorry.

Are you asking for our help, or are we asking for your vague descriptions of
off-topic problems (Apache misconfigurations by packaged versions of BackupPC)?
You see, *we* don't really *have* to live with top posts.

> You are not supposed to bottom post, either. The idea behind the whole
> eMail rule is to have a dialogue, to allow a reader who is subscribed to
> a couple of mailing lists to be able to follow the conversation without
> digging through a 2000+ line email you have to read *bottom up* if
> she/he wants to understand the context.

In particular, you are supposed to omit parts of the quoted mail no longer
neccessary for understanding the dialogue at the current point. As a rule of
thumb, that is at least everything after the end of your reply.

> > We mailing list normal users, although annoyed with top posting, can
> > learn to follow the combination of top posts with bottom posts and keep
> > up with answers.

We normal mailing list posters can also learn to move the cursor around as Les
has already suggested. It's not hard, even in vi. It's a matter of courtesy,
really. Could I be bothered to put in some work to make things easier for the
people whose help I am asking for?

> One could, but I have other emails to read, my boss does not pay me for
> reading eMails and I don't have the time to dig through the mess top
> posters produce. Result: Your eMail most probably will be ignored by a
> majority of the participants of a tech related mailing list. Not what
> you aim at, I suppose.

I can't speak for the majority, but I can confirm this for myself. I have
recently read quite some mails from you (Bob of Donelson Trophy) with problems
which were partly quite obvious and obviously somewhere else than you were
looking. I didn't feel inclined to respond to any of them, and I have noticed
that many others also have not, who I would expect could answer your questions.

In this particular thread, Les has pointed out the key misunderstanding (even
twice, in the mean time):
this is *not* an OS permission issue but rather an Apache authorization issue.
To fix this, you need to understand (a bit of) Apache configuration, not
switch off selinux, worry about Unix group membership, downgrade any software
or anything like that.

You can, of course, do whatever you like, but by disregarding advice and
instead working around the problem as you could have done right away without
bothering us, you are not exactly encouraging anyone to help you in the
future.

Regards,
Holger

--
___
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/


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

2015-09-22 Thread Bob of Donelson Trophy
 

First, I have trimmed out the irrelevant rhetoric. 

To the nicer people on this list, with your help, I have moved on. 

If you read all the threads of my original post, Stefan Peter was the
first to get way off topic. 

Then, whether appropriate or not, Holger Parplies uses this off topic
post to start one of his rants. Holger, you have chastised me before and
I let it go. 

This is the BackupPC-users mailing list and I am a user of BackupPC and
have been for years. I, as a user, ask questions just like any other
user posting to this list. In the future, I will be back. 

Holger, you have berated many via this list. You should be ashamed of
your behavior. I have noticed this fact, it is always late in the day
here (in the USA) which is late night in Europe when you post one of
your rants . . . . there is treatment for your condition. Get some help.
You are NOT a nice person when your like this. 

Holger, I DO NOT WANT YOUR HELP ANYMORE!! In the future when you see my
name, Bob Wooden (see it there in the email signature below) DO NOT
PARTICIPATE IN MY THREADS!! 
---

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [4]

"Everyone deserves an award!!"

On 2015-09-22 15:49, Holger Parplies wrote: 

> Hi,
> 
> Stefan Peter wrote on 2015-09-21 20:20:44 +0200 
> 
> . . . . mails from you (Bob of Donelson Trophy) 
> . . . .you are not exactly encouraging anyone to help you in the
> future.
> 
> Regards,
> Holger
> 
> --
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [1]
> Wiki: http://backuppc.wiki.sourceforge.net [2]
> Project: http://backuppc.sourceforge.net/ [3]
 

Links:
--
[1] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[2] http://backuppc.wiki.sourceforge.net
[3] http://backuppc.sourceforge.net/
[4] http://www.donelsontrophy.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=/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/


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

2015-09-22 Thread Les Mikesell
On Tue, Sep 22, 2015 at 5:48 PM, Timothy Murphy  wrote:
> On Tuesday 22 September 2015 14:30:34 Les Mikesell wrote:
>> On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander  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.

   
   # Apache 2.4
   
  ## Require valid-user
   Require all granted
   
   Require local
   
   
  
  
   # 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
  

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=/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/


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

2015-09-22 Thread Les Mikesell
On Tue, Sep 22, 2015 at 3:26 PM, Holger Parplies <wb...@parplies.de> wrote:
> Hi,
>
> Les Mikesell wrote on 2015-09-22 14:30:34 -0500 [Re: [BackupPC-users] 
> Forbidden You don't have permission to access /BackupPC on this server.]:
>> On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander <stor...@gmail.com> wrote:
>> > [...]
>> > I don't know that that is the case, since I have been running it on
>> > debian/sid since before apache 2.4 came out:
>> > [...]
>>
>> 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
>
> or, more to the point, it seems to be a bug in the Centos 7 BackupPC package,
> which provides an incorrect Apache configuration. It's neither an (upstream)
> BackupPC issue nor an Apache problem/incompatibility. It might not even be a
> Centos packaging error, if Centos default policy were to limit access to
> localhost, but then again, it would be for both Apache 2.2 and 2.4, wouldn't
> it?

I think the stock package does limit to local clients on both 2.2 and
2.4 by default, but the syntax is different and the instructions you
are most likely to find probably only mention how to change the older
2.2 section to allow remote access.

-- 
  Les Mikesell
lesmikes...@gmail.com

--
___
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/


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

2015-09-22 Thread Timothy Murphy
On Tuesday 22 September 2015 14:30:34 Les Mikesell wrote:
> On Tue, Sep 22, 2015 at 2:20 PM, Brad Alexander  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.

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


--
___
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/


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

2015-09-22 Thread Richard Zimmerman
Do you actually have selinux in enforcing mode?
If so, I would have thought it would be sensible to turn it to permissive, 
until the BackupPC problem is solved.

> So I have decided to start again with CentOS 6.7.

I'm reasonably certain if you applied all the suggestions that have been made 
(and turned off selinux temporarily) your problem would have been solved.

I had much the same problems as you getting BackupPC running.

> I need
> this machine to be backing up.

In my experience BackupPC is very good indeed once it is set up.
But it is also rather difficult to set up, in both CentOS 6 and 7.
in my experience.
--
Timothy Murphy
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin


I don't know if my setup here will help or not, but here it does...

selinux = disabled

My BackupPC server has MPD (Multiple Personality Disorder) :)

In addition to being the BackupPC server, it's an internal web server, backup 
PostgreSQL and Nagios server.

To solve my case of /backuppc access denied, I added apache to the backuppc 
GROUP.

/etc/group: backuppc:x:498:apache

I'm not sure if this helps in your case but in this corner of the world, adding 
apache to the respective services (backuppc, nagios, etc) got all my services 
playing happily together on the server.

I also gave up trying to use rsync on Windows. Again in my case rsync was 
notoriously unreliable, slow and problematic.  Switched to using SMB backups 
and never looked back. Volume snapshots work as they are suppose to, NO 
additional software needed on the Windows computers, etc.

You mileage may vary (YMMV) but over here BackupPC is a winner in my book!

BackupPC = BackupPC-3.3.1-1.el6.x86_64 on CentOS 6.7

Regards,

Richard
 
---
Richard Zimmerman
Systems / Network Administrator
River Bend Hose Specialty, Inc.
 S Main Street
South Bend, IN   46601-3337
(574) 233-1133
(574) 280-7284 Fax

--
___
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/


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

2015-09-21 Thread Timothy Murphy
On Sunday 20 September 2015 18:18:21 Bob of Donelson Trophy wrote:

> Yes, you are correct. I tried "apache" and "backuppc" groups and nothing
> changed. (It is suppose to be backuppc:apache by most accounts I am
> reading.)

Can you try to access BackupPC from the server on which it is running,
by browsing to localhost/backuppc ?



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


--
___
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/


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

2015-09-21 Thread Bob of Donelson Trophy
 

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" and then I would need to explain to all of my
customers where my answer is (at the bottom, where, yes, I think,
logically it should be.) I cannot redirect the masses to bottom post,
sorry. I, like you, have to live with top posts occasionally, sorry. 

We mailing list normal users, although annoyed with top posting, can
learn to follow the combination of top posts with bottom posts and keep
up with answers. 

NOW, CONFIG FILES: 

[root@localhost ~]# cat /etc/httpd/conf.d/BackupPC.conf

# BackupPC requires valid authentication in order for the web interface
to
# function properly. One can view the web interface without
authentication
# though all functionality is disabled.
# 
# htpasswd -c /etc/BackupPC/apache.users yourusername
# 

AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
##AuthUserFile /etc/lib/BackupPC/passwd/htpasswd
AuthName "BackupPC"


 # Apache 2.4
 
## Require valid-user
 Require all granted
 
 Require local
 
 


 # 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




Alias /BackupPC/images /usr/share/BackupPC/html/
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin
ScriptAlias /backuppc /usr/share/BackupPC/sbin/BackupPC_Admin 

> AND: 

[root@localhost ~]# cat /etc/httpd/conf/httpd.conf
#
# This is the main Apache HTTP server configuration file. It contains
the
# configuration directives that give the server its instructions.
# See  for detailed information.
# In particular, see 
# 
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are
unsure
# consult the online docs. You have been warned. 
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32),
the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so 'log/access_log'
# with ServerRoot set to '/www' will be interpreted by the
# server as '/www/log/access_log', where as '/log/access_log' will be
# interpreted as '/log/access_log'.

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share
the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
ServerRoot "/etc/httpd"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the 
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 192.168.16.25:80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a
DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are
used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
Include conf.modules.d/*.conf

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch. 
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
###User apache
User backuppc
Group apache

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
#  definition. These values also provide defaults for
# any  containers you may define later in the file.
#
# All of these directives may appear inside  containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. ad...@your-domain.com
#
ServerAdmin root@localhost

#
# 

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

2015-09-21 Thread Les Mikesell
On Mon, Sep 21, 2015 at 7:03 AM, Bob of Donelson Trophy
 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?


> 
>   # Apache 2.4
>   
> ##Require valid-user
>Require all granted
> 
>   Require local
> 
>   
> 
> 
>   # 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
> 

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.

-- 
   Les Mikesell
 lesmikes...@gmail.com

--
___
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/


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

2015-09-21 Thread Bob of Donelson Trophy
 

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 [1]

"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
>  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?
> 
>>  # Apache 2.4  ## Require valid-user 
>> Require all granted  Require local   
>>   # 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 
> 
> 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.
 

Links:
--
[1] http://www.donelsontrophy.com
--
___
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/


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

2015-09-21 Thread Bob of Donelson Trophy
 

I just finished installing C6.7 and BackuppPC 3.3.1. It went like a
charm. Getting ready to take the machine to it's final home. 

I am not complaining but the documentation always lags (with any distro)
and the issues I was having with C7 are most likely related to the newer
systemd, selinux or both. I just do not have time to research and find
the answers. My old BackupPC machine died and I needed this one machine
running ASAP. Like I said 2020 is end of life for C6.7. By next year
this time, I'll probably find the upgrade info I need. 

I love linux. I always get it to work for me, eventually. 

(Sorry, I top posted again!! It a long, long story, I have no choice.) 

---

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [4]

"Everyone deserves an award!!"

On 2015-09-21 14:06, Kris Lou wrote: 

> In both cases (6, 7), your easiest path of installation is probably to just 
> hook into EPEL repositories and install BackupPC (3.3.1) via yum. Certainly a 
> lot easier than finding and installing dependencies manually. 
> 
> I'm in a similar dilemma with regards to CentOS 7 upgrades, but I figure I 
> have 5 more years to deal with it. Hopefully some kind soul will be 
> maintaining 4.x in EPEL by then. 
> 
> p.s. Thanks to Bernard Johnson for maintaining the current version. 
> 
> Kris Lou
> k...@themusiclink.net 
> 
> --
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [1]
> Wiki: http://backuppc.wiki.sourceforge.net [2]
> Project: http://backuppc.sourceforge.net/ [3]
 

Links:
--
[1] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[2] http://backuppc.wiki.sourceforge.net
[3] http://backuppc.sourceforge.net/
[4] http://www.donelsontrophy.com
--
___
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/


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

2015-09-21 Thread Kris Lou
In both cases (6, 7), your easiest path of installation is probably to just
hook into EPEL repositories and install BackupPC (3.3.1) via yum.
Certainly a lot easier than finding and installing dependencies manually.

I'm in a similar dilemma with regards to CentOS 7 upgrades, but I figure I
have 5 more years to deal with it.  Hopefully some kind soul will be
maintaining 4.x in EPEL by then.

p.s. Thanks to Bernard Johnson for maintaining the current version.


Kris Lou
k...@themusiclink.net
--
___
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/


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

2015-09-21 Thread Stefan Peter
Dear Bob of Donelson Trophy

Please find my comments interspersed below:
(this is the stanza I use for noobs)

On 21.09.2015 14:03, Bob of Donelson Trophy 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" and then I would need to explain to all of my
> customers where my answer is (at the bottom, where, yes, I think,
> logically it should be.) I cannot redirect the masses to bottom post,
> sorry. I, like you, have to live with top posts occasionally, sorry.

You are not supposed to bottom post, either. The idea behind the whole
eMail rule is to have a dialogue, to allow a reader who is subscribed to
a couple of mailing lists to be able to follow the conversation without
digging through a 2000+ line email you have to read *bottom up* if
she/he wants to understand the context.

> 
> We mailing list normal users, although annoyed with top posting, can
> learn to follow the combination of top posts with bottom posts and keep
> up with answers.

One could, but I have other emails to read, my boss does not pay me for
reading eMails and I don't have the time to dig through the mess top
posters produce. Result: Your eMail most probably will be ignored by a
majority of the participants of a tech related mailing list. Not what
you aim at, I suppose.


With kind regards

Stefan Peter

-- 
Any technology that does not appear magical is insufficiently advanced.
~ Gregory Benford

--
___
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/


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

2015-09-21 Thread Timothy Murphy
On Monday 21 September 2015 12:11:39 Bob of Donelson Trophy wrote:

> Regarding my permissions issue. I have really begun to think that CentOS
> 7 is a little too new for this particular installation.

I'm not sure what this means - you seem to have installed BackupPC OK.

> I am still
> learning about selinux and it's benefits but, I do not have time to wait
> much longer.

Do you actually have selinux in enforcing mode?
If so, I would have thought it would be sensible to turn it to permissive,
until the BackupPC problem is solved.

> So I have decided to start again with CentOS 6.7.

I'm reasonably certain if you applied all the suggestions that have been made
(and turned off selinux temporarily) your problem would have been solved.

I had much the same problems as you getting BackupPC running.

> I need
> this machine to be backing up.

In my experience BackupPC is very good indeed once it is set up.
But it is also rather difficult to set up, in both CentOS 6 and 7.
in my experience.


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


--
___
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/


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

2015-09-21 Thread Timothy Murphy
On Monday 21 September 2015 12:06:02 Kris Lou wrote:

> In both cases (6, 7), your easiest path of installation is probably to just
> hook into EPEL repositories and install BackupPC (3.3.1) via yum.
> Certainly a lot easier than finding and installing dependencies manually.
> 
> I'm in a similar dilemma with regards to CentOS 7 upgrades but I figure I
> have 5 more years to deal with it.  Hopefully some kind soul will be
> maintaining 4.x in EPEL by then.

What exactly is the dilemma?
What is wrong with version 3.3.1, as a matter of interest?


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


--
___
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/


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

2015-09-20 Thread Brad Alexander
Not familiar with running backuppc on centos. Is there a backuppc group
that your user has to be a member of?

On Sun, Sep 20, 2015 at 3:23 PM, Bob of Donelson Trophy <
b...@donelsontrophy.net> wrote:

> Yes, yes, and yes to all three questions.
>
>
> ---
>
> ___
>
> Bob Wooden of Donelson Trophy
>
> 615.885.2846www.donelsontrophy.com
> "Everyone deserves an award!!"
>
> On 2015-09-20 08:38, Timothy Murphy wrote:
>
> Bob of Donelson Trophy wrote:
>
> I have been using BackupPC for years on an Ubuntu/Debian OS. I am
> switching to CentOS 7 and cannot figure out why I am getting the following:
> FORBIDDEN You don't have permission to access /BackupPC on this server. . .
> . . when I "http://[ipaddress]/BackupPC; I have disabled selinux and
> firewalld to see if they are interfering with my access. They do not appear
> to be. (So, I re-enabled them.) I can access "http://[ipaddress]; and get
> the default CentOS webpage. To install BackupPC I enabled the EPEL
> repository. It appears to have included all the dependencies. I have
> checked and re-checked file permissions. Any ideas why I cannot access?
> Suggestions?
>
> 1. Did you edit /etc/httpd/conf/httpd.conf to have User backuppc
> and restart httpd ?
>
> 2. Did you run sudo htpasswd -c /etc/BackupPC/apache.users 
>
> 3. Does backuppc own all the files in /var/lib/BackupPC ?
>
>
>
> --
>
> ___
> 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/
>
>
--
___
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/


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

2015-09-20 Thread Bob of Donelson Trophy
 

Tried your suggestion . . . made no difference. 

Thanks. 

---

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [1]

"Everyone deserves an award!!"

On 2015-09-20 08:07, Mark Maciolek wrote: 

> hi,
> 
> Make sute the BackupPC.conf in /etc/httpd/conf.d has this line in it:
> 
> Require all granted
> 
> Marlk
> 
> On 9/20/2015 8:42 AM, Bob of Donelson Trophy wrote: 
> 
>> I have been using BackupPC for years on an Ubuntu/Debian OS. I am switching 
>> to CentOS 7 and cannot figure out why I am getting the following: 
>> 
>> FORBIDDEN
>> 
>> You don't have permission to access /BackupPC on this server. 
>> 
>> . . . . when I "http://[ipaddress]/BackupPC; 
>> 
>> I have disabled selinux and firewalld to see if they are interfering with my 
>> access. They do not appear to be. (So, I re-enabled them.) 
>> 
>> I can access "http://[ipaddress]; and get the default CentOS webpage. 
>> 
>> To install BackupPC I enabled the EPEL repository. It appears to have 
>> included all the dependencies. 
>> 
>> I have checked and re-checked file permissions. 
>> 
>> Any ideas why I cannot access? Suggestions? 
>> 
>> -- 
>> 
>> ___ 
>> 
>> Bob Wooden of Donelson Trophy
>> 
>> 615.885.2846
>> www.donelsontrophy.com [1]
>> 
>> "Everyone deserves an award!!"
>> 
>> --
>> 
>> ___
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [2]
>> Wiki: http://backuppc.wiki.sourceforge.net [3]
>> Project: http://backuppc.sourceforge.net/ [4]
> 
> --
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [2]
> Wiki: http://backuppc.wiki.sourceforge.net [3]
> Project: http://backuppc.sourceforge.net/ [4]
 

Links:
--
[1] http://www.donelsontrophy.com
[2] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[3] http://backuppc.wiki.sourceforge.net
[4] http://backuppc.sourceforge.net/
--
___
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/


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

2015-09-20 Thread Bob of Donelson Trophy
 

Yes, you are correct. I tried "apache" and "backuppc" groups and nothing
changed. (It is suppose to be backuppc:apache by most accounts I am
reading.) 

---

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [1]

"Everyone deserves an award!!"

On 2015-09-20 15:35, Brad Alexander wrote: 

> Not familiar with running backuppc on centos. Is there a backuppc group that 
> your user has to be a member of? 
> 
> On Sun, Sep 20, 2015 at 3:23 PM, Bob of Donelson Trophy 
>  wrote:
> 
> Yes, yes, and yes to all three questions. 
> 
> ---
> 
> ___ 
> 
> Bob Wooden of Donelson Trophy
> 
> 615.885.2846
> www.donelsontrophy.com [1]
> 
> "Everyone deserves an award!!"
> 
> On 2015-09-20 08:38, Timothy Murphy wrote: 
> 
> Bob of Donelson Trophy wrote:
> I have been using BackupPC for years on an Ubuntu/Debian OS. I am switching 
> to CentOS 7 and cannot figure out why I am getting the following: FORBIDDEN 
> You don't have permission to access /BackupPC on this server. . . . . when I 
> "http://[ipaddress]/BackupPC; I have disabled selinux and firewalld to see if 
> they are interfering with my access. They do not appear to be. (So, I 
> re-enabled them.) I can access "http://[ipaddress]; and get the default 
> CentOS webpage. To install BackupPC I enabled the EPEL repository. It appears 
> to have included all the dependencies. I have checked and re-checked file 
> permissions. Any ideas why I cannot access? Suggestions? 
> 
> 1. Did you edit /etc/httpd/conf/httpd.conf to have User backuppc
> and restart httpd ?
> 
> 2. Did you run sudo htpasswd -c /etc/BackupPC/apache.users 
> 
> 3. Does backuppc own all the files in /var/lib/BackupPC ?

--

___
 BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
 List: https://lists.sourceforge.net/lists/listinfo/backuppc-users [2]
 Wiki: http://backuppc.wiki.sourceforge.net [3]
 Project: http://backuppc.sourceforge.net/ [4]

 

Links:
--
[1] http://www.donelsontrophy.com
[2] https://lists.sourceforge.net/lists/listinfo/backuppc-users
[3] http://backuppc.wiki.sourceforge.net
[4] http://backuppc.sourceforge.net/
--
___
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/


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

2015-09-20 Thread Adam Goryachev



On 21/09/15 09:18, Bob of Donelson Trophy wrote:

On 2015-09-20 08:38, Timothy Murphy wrote:


Bob of Donelson Trophy wrote:

I have been using BackupPC for years on an Ubuntu/Debian
OS. I am switching to CentOS 7 and cannot figure out why
I am getting the following: FORBIDDEN You don't have
permission to access /BackupPC on this server. . . . .
when I "http://[ipaddress]/BackupPC; I have disabled
selinux and firewalld to see if they are interfering with
my access. They do not appear to be. (So, I re-enabled
them.) I can access "http://[ipaddress]; and get the
default CentOS webpage. To install BackupPC I enabled the
EPEL repository. It appears to have included all the
dependencies. I have checked and re-checked file
permissions. Any ideas why I cannot access? Suggestions?

1. Did you edit /etc/httpd/conf/httpd.conf to have User backuppc
and restart httpd ?

2. Did you run sudo htpasswd -c /etc/BackupPC/apache.users 

3. Does backuppc own all the files in /var/lib/BackupPC ?



Hi Bob,

Suggestion why not show us what you have in your config file? Maybe 
even share the log file (apache error_log)? That would likely allow us 
to provide more than just random guesses.


PS, and please don't top post on mailing lists.

PPS, please don't take this the wrong way, the above is constructive 
criticism (or meant to be). Providing configs and logs will allow 
everyone to provide more sensible/helpful responses.


Regards,
Adam

--
Adam Goryachev Website Managers www.websitemanagers.com.au
--
___
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/


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

2015-09-20 Thread Bob of Donelson Trophy
 

I have been using BackupPC for years on an Ubuntu/Debian OS. I am
switching to CentOS 7 and cannot figure out why I am getting the
following: 

FORBIDDEN

You don't have permission to access /BackupPC on this server. 

. . . . when I "http://[ipaddress]/BackupPC; 

I have disabled selinux and firewalld to see if they are interfering
with my access. They do not appear to be. (So, I re-enabled them.) 

I can access "http://[ipaddress]; and get the default CentOS webpage. 

To install BackupPC I enabled the EPEL repository. It appears to have
included all the dependencies. 

I have checked and re-checked file permissions. 

Any ideas why I cannot access? Suggestions? 

-- 

___ 

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com [1]

"Everyone deserves an award!!"
 

Links:
--
[1] http://www.donelsontrophy.com
--
___
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/


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

2015-09-20 Thread Timothy Murphy
Bob of Donelson Trophy wrote:

> I have been using BackupPC for years on an Ubuntu/Debian OS. I am
> switching to CentOS 7 and cannot figure out why I am getting the
> following:
> 
> FORBIDDEN
> 
> You don't have permission to access /BackupPC on this server.
> 
> . . . . when I "http://[ipaddress]/BackupPC;
> 
> I have disabled selinux and firewalld to see if they are interfering
> with my access. They do not appear to be. (So, I re-enabled them.)
> 
> I can access "http://[ipaddress]; and get the default CentOS webpage.
> 
> To install BackupPC I enabled the EPEL repository. It appears to have
> included all the dependencies.
> 
> I have checked and re-checked file permissions.
> 
> Any ideas why I cannot access? Suggestions?

1. Did you edit /etc/httpd/conf/httpd.conf to have User backuppc
and restart httpd ?

2. Did you run sudo htpasswd -c /etc/BackupPC/apache.users 

3. Does backuppc own all the files in /var/lib/BackupPC ?

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



--
___
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/


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

2015-09-20 Thread Mark Maciolek


hi,

Make sute the BackupPC.conf in /etc/httpd/conf.d has this line in it:

Require all granted


Marlk

On 9/20/2015 8:42 AM, Bob of Donelson Trophy wrote:


I have been using BackupPC for years on an Ubuntu/Debian OS. I am 
switching to CentOS 7 and cannot figure out why I am getting the 
following:



  Forbidden

You don't have permission to access /BackupPC on this server.

. . . . when I "http://[ipaddress]/BackupPC;

I have disabled selinux and firewalld to see if they are interfering 
with my access. They do not appear to be. (So, I re-enabled them.)


I can access "http://[ipaddress]; and get the default CentOS webpage.

To install BackupPC I enabled the EPEL repository. It appears to have 
included all the dependencies.


I have checked and re-checked file permissions.

Any ideas why I cannot access? Suggestions?

--

___

Bob Wooden of Donelson Trophy

615.885.2846
www.donelsontrophy.com 

"Everyone deserves an award!!"


--


___
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/


--
___
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/