From 186a633185c07622640792c8da0591d6c2f5a5f8 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 7 Jun 2016 00:27:20 +0200 Subject: [PATCH] fix apache permission problems in CentOS vagrant script --- vagrant/install-on-centos-7.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vagrant/install-on-centos-7.sh b/vagrant/install-on-centos-7.sh index 32a12e9e..4f8f917e 100755 --- a/vagrant/install-on-centos-7.sh +++ b/vagrant/install-on-centos-7.sh @@ -52,6 +52,10 @@ # # **Never, ever run the installation as a root user.** You have been warned. # +# Make sure that system servers can read from the home directory: + + chmod a+x $USERHOME + # Setting up PostgreSQL # --------------------- # @@ -90,6 +94,7 @@ sudo cat > /etc/httpd/conf.d/nominatim.conf << EOFAPACHECONF #DOCS: Options FollowSymLinks MultiViews AddType text/html .php + Require all granted Alias /nominatim $USERHOME/build/website #DOCS:Alias /nominatim $USERHOME/Nominatim/build/website -- 2.39.5