From: Sarah Hoffmann Date: Sat, 17 Dec 2016 17:40:57 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Tag: deploy~409 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/08f4279b6efd03f83860c90e931625aa435b271e?hp=a9c06d89c144fb90616e3a780029fe3d9bcfd90d Merge remote-tracking branch 'upstream/master' --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 82676060..71075c82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ add_definitions(-DNOMINATIM_VERSION="${NOMINATIM_VERSION}") # #----------------------------------------------------------------------------- -set(BUILD_TESTS on CACHE BOOL "Build test suite" FORCE) +set(BUILD_TESTS off CACHE BOOL "Build test suite" FORCE) set(WITH_LUA off CACHE BOOL "Build with lua support" FORCE) add_subdirectory(osm2pgsql) diff --git a/docs/Installation.md b/docs/Installation.md index 678f0556..7f108160 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -104,6 +104,7 @@ directory and create an alias: Options FollowSymLinks MultiViews AddType text/html .php + DirectoryIndex search.php Require all granted Alias /nominatim /srv/nominatim/build/website @@ -134,13 +135,15 @@ follows: Tell nginx that php files are special and to fastcgi_pass to the php-fpm unix socket by adding the location definition to the default configuration. + root /srv/nominatim/build/website; + index search.php index.html; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; if (!-f $document_root$fastcgi_script_name) { return 404; } fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_index index.php; + fastcgi_index search.php; include fastcgi.conf; } diff --git a/lib/template/address-html.php b/lib/template/address-html.php index b4c7533e..63072911 100644 --- a/lib/template/address-html.php +++ b/lib/template/address-html.php @@ -13,13 +13,13 @@