travis
authorgggeek <giunta.gaetano@gmail.com>
Sat, 18 May 2019 10:31:24 +0000 (10:31 +0000)
committergggeek <giunta.gaetano@gmail.com>
Sat, 18 May 2019 10:31:24 +0000 (10:31 +0000)
tests/ci/travis/apache_vhost
tests/ci/travis/setup_apache.sh

index ee294fd..99c67fa 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
@@ -42,8 +42,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
index 8fe6e95..ee33d94 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/sh
 
+# make sure all files and folders are accisble by Apache
+
+find . -type d -exec chmod 755 {} \;
+#find . -type f -exec chmod 644 {} \;
+
 # set up Apache for php-fpm
 # @see https://github.com/travis-ci/travis-ci.github.com/blob/master/docs/user/languages/php.md#apache--php