From 1166e6406e9e63af33eba9bde6618bf203a8cec3 Mon Sep 17 00:00:00 2001 From: Bernard Johnson Date: Dec 24 2012 23:42:24 +0000 Subject: Broken configuration for httpd 2.4 (bz #871353) --- diff --git a/BackupPC.htaccess b/BackupPC.htaccess index 1538502..1ebc77e 100644 --- a/BackupPC.htaccess +++ b/BackupPC.htaccess @@ -1,4 +1,4 @@ - + # 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. @@ -6,15 +6,28 @@ # htpasswd -c /etc/BackupPC/apache.users yourusername # -order deny,allow -deny from all -allow from 127.0.0.1 -allow from ::1 AuthType Basic AuthUserFile /etc/BackupPC/apache.users AuthName "BackupPC" -require valid-user + + # Apache 2.4 + + Require valid-user + + Require local + + + + + # Apache 2.2 + order deny,allow + deny from all + allow from 127.0.0.1 + allow from ::1 + require valid-user + + diff --git a/BackupPC.spec b/BackupPC.spec index 130706f..f89378e 100644 --- a/BackupPC.spec +++ b/BackupPC.spec @@ -339,6 +339,7 @@ fi - fix deprecated qw messages (partial fix for bz #755076) - CVE-2011-5081 BackupPC: XSS flaw in RestoreFile.pm (bz #795017, #795018, #795019) +- Broken configuration for httpd 2.4 (bz #871353) * Sun Dec 6 2012 Peter Robinson 3.2.1-9 - Fix FTBFS on F-18+