From 56cddc77e28740b73ba7c4c1b6d43c29422e4d6e Mon Sep 17 00:00:00 2001 From: gggeek Date: Sat, 18 May 2019 10:57:59 +0000 Subject: [PATCH] travis --- tests/ci/travis/apache_vhost | 6 ++++++ tests/ci/travis/setup_apache.sh | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/ci/travis/apache_vhost b/tests/ci/travis/apache_vhost index 99c67fa..1130479 100644 --- a/tests/ci/travis/apache_vhost +++ b/tests/ci/travis/apache_vhost @@ -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 + + Require all granted + @@ -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 + + Require all granted + SSLEngine on diff --git a/tests/ci/travis/setup_apache.sh b/tests/ci/travis/setup_apache.sh index e199c86..90a207e 100755 --- a/tests/ci/travis/setup_apache.sh +++ b/tests/ci/travis/setup_apache.sh @@ -1,8 +1,7 @@ #!/bin/sh -# make sure all files and folders are accisble by Apache - -sudo find /home -type d -exec chmod 755 {} \; +# make sure all files and folders are accessible by Apache +sudo find $(dirname $(pwd)) -type d -exec chmod 755 {} \; sudo find . -type f -name "*.php" -exec chmod 644 {} \; # set up Apache for php-fpm -- 2.43.0