From: Sarah Hoffmann Date: Mon, 6 Jun 2016 22:27:20 +0000 (+0200) Subject: fix apache permission problems in CentOS vagrant script X-Git-Tag: v3.0.0~166^2~6 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/186a633185c07622640792c8da0591d6c2f5a5f8 fix apache permission problems in CentOS vagrant script --- 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