I have setup an apache2 server which successfully serves requests to my specific IP a-la curl -i -H GET http://a.b.c.d/nominatim/lookup.php?osm_ids=N107775&format=json
but requests (from the selfsame server) to localhost (a-la curl -i -H GET http://localhost/nominatim/lookup.php?osm_ids=N107775&format=json
) fail with 403 errors, which furthermore aren't logged in /var/log/apache2/error.log.
Does someone have a clue or two where the disconnect might be ?
My /etc/apache2/sites-enabled/osm.conf looks like:
<VirtualHost *:80>
ServerAdmin jeremy@floob.com
ServerName server.floob.com
ServerAlias osm-floob.floob.com
DocumentRoot /home/jeremy/Nominatim-3.2.0/build/website
ErrorLog /home/jeremy/Nominatim-3.2.0/build/website/apache.error.log
CustomLog /home/jeremy/Nominatim-3.2.0/build/website/apache.custom.log combined
</VirtualHost>
<Directory "/home/jeremy/Nominatim-3.2.0/build/website">
Options FollowSymLinks MultiViews
AddType text/html .php
DirectoryIndex search.php
Require all granted
Order allow,deny
Allow from all
</Directory>
Alias /nominatim /home/jeremy/Nominatim-3.2.0/build/website