Oh, and look for SELinux errors since that isn't the default /var/www/html dir.

Thanks,

Greg Harris

On Jul 18, 2019, at 3:20 PM, Greg Harris 
<ghar...@teamexpansion.org<mailto:ghar...@teamexpansion.org>> wrote:

Check permissions on the folder
/usr/share/BackupPC/html/

I think it’s supposed to be owner: group of apache:apache, but it might be 
backuppc:backuppc instead.

Thanks,

Greg Harris

On Jul 18, 2019, at 2:19 PM, Kris Lou via BackupPC-users 
<backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>>
 wrote:

Also Centos 7, just upgraded to 4.3.1 via the hobbes1069 copr repo.

Here's your problem:

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

My apache config script aliases look like this:

       Alias           /BackupPC/images        /usr/share/BackupPC/html/
       ScriptAlias     /BackupPC       /usr/libexec/BackupPC/BackupPC_Admin
       ScriptAlias     /        /usr/libexec/BackupPC/BackupPC_Admin

I added the last one so that the webroot also points directly to 
~/BackupPC_Admin.

Alter the targets to match your environment, obviously.

Kris Lou
k...@themusiclink.net<mailto:k...@themusiclink.net>


On Thu, Jul 18, 2019 at 11:00 AM Jean-Marc 
<doc....@orange.fr<mailto:doc....@orange.fr>> wrote:
Hi,

I have set up a centos + backuppc.

To keep things easy, i have done a yum install backuppc, then upgraded
to latest version 4.3.1.

To keep it short, i can't reach the GUI through http://myip/backuppc nor
http://myip/BackupPC

Apache ask for auth, but send a 403 after

but.... http://myip/BackupPC_Admin  works fine ?!?!

can't find what's happening, probably a problem with backuppc.conf in
conf.d :


<Directory /usr/share/BackupPC >

AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"

<IfModule mod_authz_core.c>
   # Apache 2.4
   <RequireAll>
     Require valid-user
     <RequireAny>
       Require ip 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0> 
127.0.0.1
     </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 192.168.1.0/255.255.255.0<http://192.168.1.0/255.255.255.0>
   require valid-user
</IfModule>

</Directory>

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

HTTPD Error log give me :

[autoindex:error] [pid 3734] [client 
192.168.1.13:53797<http://192.168.1.13:53797/>] AH01276: Cannot
serve directory /usr/share/BackupPC/html/: No matching DirectoryIndex
(index.html) found, and server-generated directory index forbidden by
Options directive

Thanks

Jean-Marc



_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto:BackupPC-users@lists.sourceforge.net>
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    
http://backuppc.wiki.sourceforge.net<http://backuppc.wiki.sourceforge.net/>
Project: http://backuppc.sourceforge.net/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/

Reply via email to