[Geocoding] nominatim website url is incorrect.

Troy Yang troyyang at thinkgeo.com
Mon Dec 28 01:47:16 UTC 2015


Sarah,

Many thanks! All works fantastic! 

Troy

-----Original Message-----
From: Sarah Hoffmann [mailto:lonvia at denofr.de] 
Sent: Saturday, December 26, 2015 12:56 AM
To: Troy Yang <troyyang at thinkgeo.com>
Cc: geocoding at openstreetmap.org
Subject: Re: [Geocoding] nominatim website url is incorrect.

Hi,

On Thu, Dec 24, 2015 at 05:29:50AM +0000, Troy Yang wrote:
> I follow the installation guide and can set up the nominatim website on Ubuntu 14 without any issue. However, In the end, when I view http://localhost/nominatim/search.php, a lot of assets files like css, js are not found and no map is loaded.
> 
> http://localhost/css/search.css [HTTP/1.1 404 Not Found 0ms] 
> http://localhost/js/OpenLayers.js [HTTP/1.1 404 Not Found 0ms] 
> http://localhost/js/tiles.js [HTTP/1.1 404 Not Found 1ms] 
> http://localhost/js/prototype-1.6.0.3.js [HTTP/1.1 404 Not Found 0ms] 
> ...
> 
> I can find all the files if append "nominatim" subdomain behind 
> localhost. Like http://localhost/nominatim/js/OpenLayers.js
> 
> I've changed my CONST_Website_BaseURL AS http://localhost/nominatim in setting.php file by following the guide. And my nominatim is under "/var/www/html/nominatim" and "/var/www/html" is my apache root path by default.
> 
> Is there anything I am missing?

Make sure your CONST_Website_BaseURL has a trailing slash.

Sarah



More information about the Geocoding mailing list