Üdv!
CentOS 7 alatt nem bírom beállítani pl. a roundcubemail-t, backuppc-t. Mindenhol "403 Forbidden" a hibaüzenet.
Logban:
client denied by server configuration: /usr/share/BackupPC/sbin/BackupPC_Admin
Próbaként a BackupPC.conf-ban:
# -----------------------------------------------------------
Directory /usr/share/BackupPC/
#
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"
IfModule mod_authz_core.c
# Apache 2.4
Require valid-user
Require local
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
/Directory
Alias /BackupPC/images /usr/share/BackupPC/html/
ScriptAlias /BackupPC /usr/share/BackupPC/sbin/BackupPC_Admin
ScriptAlias /backuppc /usr/share/BackupPC/sbin/BackupPC_Admin
# -----------------------------------------------------------
Mit hagyok ki?
--
G.
- 2268 megtekintés
Hozzászólások
Szia,
http://httpd.apache.org/docs/2.4/upgrading.html
Pl.:
2.2 configuration:
------------------
Order allow,deny
Allow from all
2.4 configuration:
------------------
Require all granted
De lehet SELinux beállítási probléma is...
Attila, Perger
-----------------------------------------------------
"Az a szoftver, amelyiket nem fejlesztik, az halott!"
- A hozzászóláshoz be kell jelentkezni
Update: működik.
SELinux permissive.
Így már jó:
< Directory /usr/share/BackupPC/ >
Require all granted
# ...
AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"
< IfModule !mod_authz_core.c >
Require all granted
order deny,allow
#deny from all
#allow from 127.0.0.1
allow from all
allow from ::1
require valid-user
# ...
--
G.
- A hozzászóláshoz be kell jelentkezni