[Geocoding] nominatim website url is incorrect.
Sarah Hoffmann
lonvia at denofr.de
Fri Dec 25 16:56:24 UTC 2015
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