Updated Setting up the Dynamic Map plugin under Windows (markdown)

FrozenCow 2011-01-20 14:31:14 -08:00
parent 0df9d0c94e
commit bbb510f6b2

@ -8,7 +8,7 @@ You should now have the following file: `C:\Inetpub\wwwroot\dynmap\up.aspx`.
* Go to `minecraft_server/plugins/dynmap/configuration.txt` and make sure you have the property `tilepath` set to `C:\Inetpub\wwwroot\dynmap\tiles\`:
```cfg
```yaml
# The path where the tile-files are placed.
tilepath: C:\Inetpub\wwwroot\dynmap\tile
```
@ -18,7 +18,12 @@ tilepath: C:\Inetpub\wwwroot\dynmap\tile
If everything went alright, you should now find some new `.png` files in `C:\Inetpub\wwwroot\dynmap\tiles\`. You can also go to *http://yourwebserver/dynmap/* in your browser. It should display the map, but also display an error not being able to update (player locations and map changes).
To fix this, we need to configure the webserver:
* IIS: [[Setting up Dynamic Map with IIS under Windows]]
* Apache: [[Setting up Dynamic Map with Apache under Windows]]
Open up `C:\Inetpub\wwwroot\dynmap\config.js` in Notepad and change the following line:
```js
updateUrl: 'up/',
```
To:
```js
updateUrl: 'up.aspx?path=',
```
Now refresh your browser. It should now display online players on *http://mywebserver/dynmap/*, keeping them up-to-date.