]> git.pld-linux.org Git - packages/wordpress.git/commitdiff
apache 2.x/2.4 compatible config
authorElan Ruusamäe <glen@delfi.ee>
Thu, 6 Jun 2013 11:05:45 +0000 (14:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 6 Jun 2013 11:05:45 +0000 (14:05 +0300)
apache.conf

index 0bc918fc9ca39a4bd700da981942fb0fa37da060..0b587dfebf5639da5b3e1e0a140ed6dce7d705dd 100644 (file)
@@ -1,7 +1,14 @@
 Alias /wordpress /usr/share/wordpress
 
 <Directory /usr/share/wordpress>
-       Allow from all
+       <IfModule mod_authz_core.c>
+               # Apache 2.4
+               Require all granted
+       </IfModule>
+       <IfModule !mod_authz_core.c>
+               Allow from all
+       </IfModule>
+
        php_admin_flag engine on
        php_admin_value open_basedir "/usr/share/wordpress:/etc/webapps/wordpress"
 
This page took 0.159345 seconds and 4 git commands to generate.