From: gggeek Date: Sat, 18 May 2019 10:31:24 +0000 (+0000) Subject: travis X-Git-Tag: 4.3.2~6 X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=9e55c477df00c7f3aada4d412a59eb369b2273d6 travis --- diff --git a/tests/ci/travis/apache_vhost b/tests/ci/travis/apache_vhost index ee294fd..99c67fa 100644 --- a/tests/ci/travis/apache_vhost +++ b/tests/ci/travis/apache_vhost @@ -11,8 +11,8 @@ 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 @@ 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 diff --git a/tests/ci/travis/setup_apache.sh b/tests/ci/travis/setup_apache.sh index 8fe6e95..ee33d94 100755 --- a/tests/ci/travis/setup_apache.sh +++ b/tests/ci/travis/setup_apache.sh @@ -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