mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Page:
Dynmap With IIS Using URL Rewrite and applicationrequestrouting thanks to kekec852
Pages
.
AWS S3 Storage
Addons
Advanced Map Configuration
Base Plugin Settings
Boosting areas on Dynmap
BoxRenderer Class
Chunk Status Colors
Chunk Version Colors
Color Schemes
Commands
Common Features for Texture and Model Definition Files
Component Configuration
Configuration
Configuration.txt
Configuring Maps and Worlds using dmap
Credits
Custom Block Definitions
Defining a Block using a Custom Block Renderer
Defining a Block using a Volumetric Model
Defining a Cuboid Block
Defining a Simple Block
Defining cuboid models
Defining custom lightings
Defining custom perspectives
Defining custom shaders
Defining volumetric models
Dmarker
Dynmap API
Dynmap On Xenon Hosting Service, courtesy of mavbear
Dynmap With IIS Using URL Rewrite and applicationrequestrouting thanks to kekec852
Dynmap with Apache httpd on Arch Linux
Dynmap with IIS
Dynmap with Nginx server on Centos
Dynmap with Nginx
Dynmap with apache2 on Debian
Dynmap with lighttpd on Arch Linux
Earthmc maps
Example configurations and demo website
Exporting World Data in Wavefront OBJ Format
External Webserver Basics
External Webserver on Linux
External Webserver on Windows
External Webserver on hosting providers
FAQ
Features
FenceWallBlockRenderer Class
File System Storage
Forwarding Dynmap port through cloudflare
Full list of predefined perspectives
Guides
HD Map Configuration
Home
How to compile Dynmap
Incompatible mods
Installation Setup of Dynmap on Linux
Installation
Internal Webserver with Caddy as a Reverse Proxy (Linux)
Internal Webserver
Lighttpd and SQLite on a Raspberry Pi 4 with DietPi
Model Definition Files
MySQL MariaDB Storage
Nginx as a Reverse Proxy
OCI; Oracle Cloud Instance; Quick how to enable DynMap
PaneRenderer Class
Permissions
PostgreSQL Storage
RedstoneWireRenderer Class
Resources
SQLite Storage
Setting up Dynamic Map with apache2 under Debian
Setting up Dynmap through hosting services
Setting up the Dynamic Map plugin under Windows
Setting up without the Internal Web Server
SkullRenderer Class
Special texture file types
StairBlockRenderer Class
Storage Setup
Support for Minecraft Servers other than CraftBukkit
Support for MinecraftForge based mods
Support for Tekkit
Texture Definition Files
Textures of Dynmap
Use dynmap via Pterodactyl
Using Markers
Using custom block renderers
Web Setup
Web UI Parameters
Web ui login support and permissions
World and template settings
[Tutorial] Setting up a standalone web server with MySQL SQLite
limiting render area
1
Dynmap With IIS Using URL Rewrite and applicationrequestrouting thanks to kekec852
FedUpWith-Tech edited this page 2020-08-01 16:00:55 -04:00
This page assumes:
- You have basic undersending of configurationg and managing IIS server
- The root directory of your webserver is found at C:\Inetpub\wwwroot.
- You have IIS and CraftBukkit running on the same machine.
- You have download and installed URL Rewrite and ApplicationRequestRouting(http://www.iis.net/downloads/microsoft/application-request-routing, http://www.iis.net/downloads/microsoft/url-rewrite)
Start:
- To start, create the directory C:\Inetpub\wwwroot\dynmap.
- Copy the contents of the web directory found in the repository to C:\Inetpub\wwwroot\dynmap.
There are two choices:
- Create folder
C:\Inetpub\wwwroot\dynmap\tiles\
and editconfiguration.txt
and make sure you have the property tilespath set toC:\Inetpub\wwwroot\dynmap\tiles\
:
# The path where the tile-files are placed.
tilespath: C:\Inetpub\wwwroot\dynmap\tiles
OR
- Create virtual folder inside iis by right clicking on dynmap folder
Add Virtual Directory
nameedtiles
(alias) andPhysical path
that points todynmap plugin folder/web/tiles
Now the rewrite part:
- Select dynmap folder in IIS and click URL Rewrite icon, then
Add rule(s)
; selectReverse proxy
. In inbound rule enter127.0.0.1:8123
and click ok. When asked if enable reverse proxy selectYes
. - Browse to your dynmap web folder (
C:\Inetpub\wwwroot\dynmap\
) and openweb.config
with notepad and adjust content to:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="up/(.*)" />
<action type="Rewrite" url="http://127.0.0.1:8123/up/{R:1}" />
</rule>
<rule name="ReverseProxyInboundRule2" stopProcessing="true">
<match url="standalone/(.*)" />
<action type="Rewrite" url="http://127.0.0.1:8123/standalone/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Also, some version of IIS (7.x in any case) will not automatically assign the proper MIME type for the *.json files that can be needed by dynmap (resulting in a 406 or 404 error when attempting to load these files, such as those used by the Markers API). To address this, follow the procedure here - http://support.microsoft.com/kb/942050 - to define the MIME type 'application/json' to the 'json' file extension.
Also, for more details on how to get IIS6 and IIS7 handing JSON properly, see http://www.sencha.com/forum/showthread.php?33266-Some-Problem-with-JSON&p=229858&viewfull=1#post229858
Contents
Setup
- Base Plugin Settings
- Web Setup
- Storage Setup
- HD Map Configuration
- World and template settings
- Guides
Advanced Configuration
- Advanced Map Configuration
- Component Configuration
- Configuration of worlds
- Exporting World Data in Wavefront OBJ Format
- External Webserver Advanced
Mod Support
- Support for Minecraft Servers other than CraftBukkit
- Support for MinecraftForge based mods
- Support for Tekkit
- Custom Block Definitions
- Model Definition Files
- Texture Definition Files
- Defining a Block using a Custom Block Renderer
- Defining a Block using a Volumetric Model
- Defining a Cuboid Block
- Defining a Simple Block
- Defining Cuboid Models
- Defining Volumetric Models
- Special texture file types
- Using custom block renderers
- Incompatible mods