This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Web API test results in ERROR 404: Not Found.

1

Hi all,

I've installed OSM3S and it works fine in static usage.

I've then set up the Web API following the instructions in the Overpass API installation wiki and everything seemed to work properly but when I run the test (with the dispatcher running in the background):

wget --output-document=test.xml http://localhost/api/interpreter?data=%3Cprint%20mode=%22body%22/%3E

I get a 404 response:

--2019-05-03 16:49:32-- http://localhost/api/interpreter?data=%3Cprint%20mode=%22body%22/%3E Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2019-05-03 16:49:32 ERROR 404: Not Found.

Could please anyone point me to possible problems/solutions? I've double checked the paths in the apache configuration file and they are ok. It doesn't seem to be a permission problem either. Any suggestion is appreciated.

Many thanks,

Carlo

asked 06 May '19, 17:47

carlo_co's gravatar image

carlo_co
26112
accept rate: 0%

Source code available on GitHub .