[PATCH 1/2] Change httpd configuration to use httpd 2.4 syntax

Felix Kaechele heffer at fedoraproject.org
Fri Mar 22 23:09:15 UTC 2013


---
 hub/httpd.conf        | 6 ++----
 www/conf/kojiweb.conf | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/hub/httpd.conf b/hub/httpd.conf
index 5ecfb09..0463cd1 100644
--- a/hub/httpd.conf
+++ b/hub/httpd.conf
@@ -7,8 +7,7 @@ Alias /kojihub /usr/share/koji-hub/kojixmlrpc.py
 <Directory "/usr/share/koji-hub">
     Options ExecCGI
     SetHandler wsgi-script
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
 
 # Support for mod_python is DEPRECATED. If you still need mod_python support,
@@ -28,8 +27,7 @@ Alias /kojifiles "/mnt/koji/"
 <Directory "/mnt/koji">
     Options Indexes
     AllowOverride None
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
 
 # uncomment this to enable authentication via SSL client certificates
diff --git a/www/conf/kojiweb.conf b/www/conf/kojiweb.conf
index cb75fba..78ed579 100644
--- a/www/conf/kojiweb.conf
+++ b/www/conf/kojiweb.conf
@@ -5,8 +5,7 @@ Alias /koji "/usr/share/koji-web/scripts/wsgi_publisher.py"
 <Directory "/usr/share/koji-web/scripts/">
     Options ExecCGI
     SetHandler wsgi-script
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
 
 # Support for mod_python is DEPRECATED. If you still need mod_python support,
@@ -51,6 +50,5 @@ Alias /koji-static/ "/usr/share/koji-web/static/"
 <Directory "/usr/share/koji-web/static/">
     Options None
     AllowOverride None
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
-- 
1.8.1.4



More information about the buildsys mailing list