]> git.openstreetmap.org Git - nominatim.git/commitdiff
fix apache permission problems in CentOS vagrant script
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 6 Jun 2016 22:27:20 +0000 (00:27 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 6 Jun 2016 22:27:20 +0000 (00:27 +0200)
vagrant/install-on-centos-7.sh

index 32a12e9e2f227655e08bf5e432259b233c66afc0..4f8f917e9e7fc7d95f064cfa8fd48438d9353605 100755 (executable)
 #
 # **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
 <Directory "$USERHOME/build/website"> #DOCS:<Directory "$USERHOME/Nominatim/build/website">
   Options FollowSymLinks MultiViews
   AddType text/html   .php
+  Require all granted
 </Directory>
 
 Alias /nominatim $USERHOME/build/website  #DOCS:Alias /nominatim $USERHOME/Nominatim/build/website