-
Notifications
You must be signed in to change notification settings - Fork 431
Dynmap with lighttpd on Arch Linux
FedUpWith-Tech edited this page Aug 1, 2020
·
1 revision
This page assumes:
- You have lighttpd installed.
- Your www-root directory to be:
/srv/http/
. - You could access your Dynmap-map succesfully through http://localhost:8123/.
Start:
- To start, create the directory
/srv/http/dynmap/
. - Copy the contents of the
web
directory found in the zip to/srv/http/dynmap/
.
This example shows how to put dynmap on your lighttpd webserver in http://mywebserver/dynmap/.
In /etc/lighttpd/lighttpd.conf
, be sure you have the correct modules enabled:
server.modules = ( "mod_access",
"mod_rewrite",
"mod_proxy",
"mod_fastcgi"
)
Now we must make the tiles available from the webserver and also 'redirect'/proxy /dynmap/up/
to dynmap's internal webserver. To do this, put the following at the end of /etc/lighttpd/lighttpd.conf
:
alias.url += ( "/dynmap/tiles/" => "/home/minecraft/minecraft_server/plugins/dynmap/web/tiles/" )
url.rewrite-once += (
"^/dynmap/up/(.*)" => "/up/$1",
"^/dynmap/standalone/(.*)" => "/standalone/$1"
)
$HTTP["url"] =~ "^/up/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 8123 )) )
}
$HTTP["url"] =~ "^/standalone/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 8123 )) )
}
Restart lighttpd (sudo /etc/rc.d/lighttpd 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