mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 19:44:07 +00:00
fix apache permission problems in CentOS vagrant script
This commit is contained in:
@@ -52,6 +52,10 @@
|
|||||||
#
|
#
|
||||||
# **Never, ever run the installation as a root user.** You have been warned.
|
# **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
|
# 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">
|
<Directory "$USERHOME/build/website"> #DOCS:<Directory "$USERHOME/Nominatim/build/website">
|
||||||
Options FollowSymLinks MultiViews
|
Options FollowSymLinks MultiViews
|
||||||
AddType text/html .php
|
AddType text/html .php
|
||||||
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
Alias /nominatim $USERHOME/build/website #DOCS:Alias /nominatim $USERHOME/Nominatim/build/website
|
Alias /nominatim $USERHOME/build/website #DOCS:Alias /nominatim $USERHOME/Nominatim/build/website
|
||||||
|
|||||||
Reference in New Issue
Block a user