Skip to content

Setting up Dynamic Map with apache2 under Debian

FrozenCow edited this page Jan 2, 2011 · 14 revisions

This page assumes your root directory of your webserver is found at /var/www/ and that you have apache2 installed.

This example shows how to put dynmap on your apache2 webserver in http://mywebserver/dynmap/.

First, we need to enable the modules we need. Type in bash:

    sudo a2enmod rewrite proxy_http

Next, we must 'redirect' /dynmap/up/ to dynmap's internal webserver. To do this, make sure you have the following at the end of /etc/apache2/sites-available/default:

    ...
        RewriteEngine on
        RewriteRule /dynmap/up/(.*) http://localhost:8123/$1 [P,L]
    </VirtualHost>
    
    <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.

Contents

Setup

Advanced Configuration

Mod Support

Developers

Clone this wiki locally