spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf | 6 ++++++
web/modules/pxt/PXT/ApacheAuth.pm | 3 ---
2 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 8a3fe07026dcfef804bb275996b8029e23236641
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Feb 1 14:31:58 2013 +0100
made apache 2.4 happy with our acl auth definitions
fixing
AH00526: Syntax error on line 126 of /etc/httpd/conf.d/zz-spacewalk-www.conf:
Unknown Authz provider: acl
diff --git a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
index 73385c6..e7ad1c4 100644
--- a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
+++ b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
@@ -113,6 +113,12 @@ ServerSignature Off
PerlModule PXT::ApacheHandler
PerlModule PXT::ApacheAuth
+<IfVersion >= 2.4>
+ <AuthzProviderAlias user acl>
+ PerlAuthenHandler PXT::ApacheAuth
+ </AuthzProviderAlias>
+</IfVersion>
+
<Directory "/var/www/html/network/systems/groups">
AuthType Basic
AuthName "RHN System Group List"
commit ad42dddc8fcb3545cc1affa7fd8377c3395288f2
Author: Michael Mraka <michael.mraka(a)redhat.com>
Date: Fri Feb 1 11:35:45 2013 +0100
no-access is no more used
files which can't be access via web has been already moved outside
of document root
diff --git a/web/modules/pxt/PXT/ApacheAuth.pm b/web/modules/pxt/PXT/ApacheAuth.pm
index 15b6882..1dc4fbe 100644
--- a/web/modules/pxt/PXT/ApacheAuth.pm
+++ b/web/modules/pxt/PXT/ApacheAuth.pm
@@ -121,9 +121,6 @@ sub authz_handler {
if ($type eq 'valid-user') {
$passes++;
}
- elsif ($type eq 'no-access') {
- return FORBIDDEN;
- }
elsif ($type eq 'acl') {
# support addition mixin'able acls directly from the .htaccess file...
Show replies by date