Hi, I have up the tile server and can view Slippymap.html, if run on same machine. When I call this page from some other system, it does not work. Any idea why?

I want to run the tile server on a machinde and to be able to view the tiles from another system.

asked 02 Jun '14, 11:32

Reshma%20Maner's gravatar image

Reshma Maner
235303136
accept rate: 0%

1

Why don't you also paste in the code you're trying to use?

(02 Jun '14, 11:39) Harry Wood

map = new OpenLayers.Map ("map" var newLayer = new OpenLayers.Layer.OSM("Local Tiles", "http://192.168.2.35/osm/${z}/${x}/${y}.png", {numZoomLevels: 19}); map.addLayer(newLayer);

(02 Jun '14, 11:46) Reshma Maner

this page works fine if I run it on the same server as map tiles server. If I copy this html page to another server and try to run it from there, it does not work

(02 Jun '14, 11:54) Reshma Maner
1

Blindly guessing that your tile server is configured to allow traffic only from localhost. In case it is running apache, you need to configure it (depending on the installed os the place to start might be: /etc/apache2/sites-enabled/ ).

(02 Jun '14, 20:30) RM87

What OS is this on (and what Apache version)? It doesn't sound like a specific OSM problem.

(14 Aug '14, 17:06) SomeoneElse ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×6
×4
×4
×2

question asked: 02 Jun '14, 11:32

question was seen: 3,765 times

last updated: 14 Aug '14, 17:07

powered by OSQA