- 
                Notifications
    
You must be signed in to change notification settings  - Fork 457
 
Dynmap with Apache httpd on Arch Linux
        FedUpWith-Tech edited this page Aug 1, 2020 
        ·
        1 revision
      
    This page assumes:
- You have apache-httpd 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 apache webserver in http://mywebserver/dynmap/.
- To start, create the directory 
/srv/http/dynmap/. - Copy the contents of the 
webdirectory found in the zip to/srv/http/dynmap/. 
In /etc/httpd/conf/httpd.conf, make sure you have the following (uncommented) lines. Note that they don't have to be adjacent:
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule rewrite_module modules/mod_rewrite.so
Next, we must 'redirect' /dynmap/up/ and /dynmap/standalone to dynmap's internal webserver. To do this, add the following to the end of your /etc/httpd/conf/httpd.conf:
    ...
    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]
    <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>Note that this will apply for all virtualhosts. If you have multiple virtualhosts it is recommended to put the above lines inside it.
Restart apache/httpd (sudo /etc/rc.d/httpd 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