]> git.openstreetmap.org Git - chef.git/commitdiff
Use apache 2.4 style access rules
authorTom Hughes <tom@compton.nu>
Wed, 20 Aug 2014 13:43:51 +0000 (14:43 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 20 Aug 2014 13:43:51 +0000 (14:43 +0100)
cookbooks/otrs/templates/default/apache.erb

index da5a60d2f94d520016e556a2ff78f560fa3e6ccd..3b889ce3d4980097a0e08cea63f1520b565555b1 100644 (file)
@@ -37,8 +37,7 @@
                 Options +ExecCGI
                 PerlOptions +ParseHeaders
                 PerlOptions +SetupEnv
                 Options +ExecCGI
                 PerlOptions +ParseHeaders
                 PerlOptions +SetupEnv
-                Order allow,deny
-                Allow from all
+                Require all granted
         </Location>
 
         <Location /otrs/nph-genericinterface.pl>
         </Location>
 
         <Location /otrs/nph-genericinterface.pl>
 <Directory /opt/otrs/bin/cgi-bin>
         AllowOverride None
         Options +ExecCGI -Includes
 <Directory /opt/otrs/bin/cgi-bin>
         AllowOverride None
         Options +ExecCGI -Includes
-        Order allow,deny
-        Allow from all
+        Require all granted
 </Directory>
 
 <Directory /opt/otrs/var/httpd/htdocs>
         AllowOverride None
 </Directory>
 
 <Directory /opt/otrs/var/httpd/htdocs>
         AllowOverride None
-        Order allow,deny
-        Allow from all
+        Require all granted
 </Directory>
 
 <Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>
 </Directory>
 
 <Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>