-
Notifications
You must be signed in to change notification settings - Fork 428
Setting up Dynamic Map with apache2 under Debian
JurgenKuyper edited this page Dec 7, 2023
·
14 revisions
This page assumes:
- You have apache2 installed.
- Your www-root directory to be:
/srv/http/
. - You could access your Dynmap-map succesfully through http://localhost:8123/.
This example shows how to put dynmap on your apache2 webserver in http://mywebserver/dynmap/.
- To start, create the directory
/srv/http/dynmap/
. - Copy the contents of the
web
directory found in the zip to/srv/http/dynmap/
.
First, we need to enable the modules we need. Type in bash:
sudo a2enmod rewrite proxy_http
Next, we must 'redirect' /dynmap/up/
and /dynmap/standalone/
to dynmap's internal webserver. To do this, make sure you have the following at the end of /etc/apache2/sites-available/default
:
...
Alias /dynmap/tiles /opt/minecraft_server/plugins/dynmap/web/tiles/
RewriteEngine on
RewriteRule /dynmap/up/(.*) http://localhost:8123/up/$1 [P,L]
RewriteRule /dynmap/standalone/(.*) http://localhost:8123/standalone/$1 [P,L]
</VirtualHost>
<Directory /opt/minecraft_server/plugins/dynmap/web/tiles/>
Order allow,deny
Allow from all
</Directory>
<Proxy http://localhost:8123/*>
Order deny,allow
Allow from all
</Proxy>
Restart apache2 (sudo /etc/init.d/apache2 restart
).
It should now display online players on http://mywebserver/dynmap/, keeping them up-to-date.
- Base Plugin Settings
- Web Setup
- Storage Setup
- HD Map Configuration
- World and template settings
- Guides
- Advanced Map Configuration
- Component Configuration
- Configuration of worlds
- Exporting World Data in Wavefront OBJ Format
- External Webserver Advanced
- 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