[Geocoding] Nominatim installation trouble

Sarah Hoffmann lonvia at denofr.de
Fri May 23 18:19:24 UTC 2014


[answer was meant to go to the list]

On Thu, May 22, 2014 at 06:12:10PM +0200, Alessandra Donnini wrote:
> Dear all,
> 
> I configured nominatim  on a user Nominatim, on /home/Nominatim/Nominatim folder
> I created /var/www/nominatim (755 chowned to Nominatim) and I run
> ./utils/setup.php --create-website /var/www/nominatim
> I set /etc/httpd/conf.d/nominatim.conf with 
> 
> <Directory "/var/www/nominatim/">
>     Options FollowSymLinks MultiViews
>     AddType text/html   .php     
>  </Directory>
> I restarted Apache.
> Moreover, due to my OS that is CENTOS I renamed posgres user from www-data to apache.
> 
> When I access http://mysite/nominatim I receive 403, and in error_log I found 
> Symbolic link not allowed or link target not accessible: /var/www/nominatim/index.php

Looks like SELinux denies access to apache to files outside /var/www. Try
the solution in this serverfault question:
http://serverfault.com/questions/288832/access-file-outside-document-root


Sarah



More information about the Geocoding mailing list