travis
[plcapi.git] / tests / ci / travis / apache_vhost
index ee294fd..1130479 100644 (file)
@@ -11,8 +11,8 @@
   <Directory "%TRAVIS_BUILD_DIR%">
     Options FollowSymLinks MultiViews ExecCGI
     AllowOverride All
-    Order deny,allow
-    Allow from all
+
+    Require all granted
 
     # needed for basic auth (PHP_AUTH_USER and PHP_AUTH_PW)
     RewriteEngine on
@@ -26,6 +26,9 @@
     Action php5-fcgi /php5-fcgi
     Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
     FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
+    <Directory /usr/lib/cgi-bin>
+      Require all granted
+    </Directory>
   </IfModule>
 
 </VirtualHost>
@@ -42,8 +45,8 @@
   <Directory "%TRAVIS_BUILD_DIR%">
     Options FollowSymLinks MultiViews ExecCGI
     AllowOverride All
-    Order deny,allow
-    Allow from all
+
+    Require all granted
 
     # needed for basic auth (PHP_AUTH_USER and PHP_AUTH_PW)
     RewriteEngine on
@@ -57,6 +60,9 @@
     Action php5-fcgi /php5-fcgi
     Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
     #FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
+    <Directory /usr/lib/cgi-bin>
+      Require all granted
+    </Directory>
   </IfModule>
 
   SSLEngine on