NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm trying to install the overpass api as a web server with apache but I cannot access the interpreter from an http request. Overpass API Install

Here is my 000-default.conf

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ExtFilterDefine gzip mode=output cmd=/bin/gzip
DocumentRoot /root/osm-3s_v0.7.4/html

# This directive indicates that whenever someone types 
# Apache2 should refer to what is in the local directory [YOUR_EXEC_DIR]/cgi-bin/
ScriptAlias /api/ /srv/osm3s/cgi-bin/

# This specifies some directives specific to the directory: [YOUR_EXEC_DIR]/cgi-bin/
<Directory "/srv/osm3s/cgi-bin/">
            AllowOverride None
            Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
            Order allow,deny
            Allow from all
            #SetOutputFilter gzip
            #Header set Content-Encoding gzip

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit, alert, emerg
LogLevel warn

CustomLog /var/log/apache2/access.log combined

However when I try to run the command:

I get the 403 Forbidden error.

I have already done

chmod 777 /srv/osm3s/cgi-bin/

But nothing seems to work.

Please help, Ive been stuck on this for 3 days now! Thanks in advance.

asked 27 May '14, 22:05

gmeister4's gravatar image

accept rate: 0%

closed 24 Jul '15, 19:22

mmd's gravatar image


Is there a solution for this? I've also found this post at stackoverflow but none of the answers fixed it for me.

(I'm using CentOS, Apache/2.2.15 and I tried all possible solutions from this answers including moving installation to /var/www/osm/)

(15 Jul '15, 11:52) PhilHamm
(24 Jul '15, 19:21) mmd

The question has been closed for the following reason "Issue is now handled on Overpass API development list." by mmd 24 Jul '15, 19:22

meanwhile we have a mailinglist for overpassAPI:

try to ask there.

permanent link

answered 18 Jul '15, 10:17

stephan75's gravatar image

accept rate: 6%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 27 May '14, 22:05

question was seen: 5,532 times

last updated: 25 Jul '15, 10:17

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum