mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-09-30 06:37:28 +02:00
Updated Setting up Dynamic Map with apache2 under Debian (markdown)
parent
d6dc3876df
commit
fe1a58f673
@ -14,7 +14,7 @@ First, we need to enable the modules we need. Type in bash:
|
|||||||
sudo a2enmod rewrite proxy_http
|
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`:
|
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`:
|
||||||
|
|
||||||
```apache
|
```apache
|
||||||
...
|
...
|
||||||
@ -22,6 +22,7 @@ Next, we must 'redirect' `/dynmap/up/` to dynmap's internal webserver. To do thi
|
|||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule /dynmap/up/(.*) http://localhost:8123/up/$1 [P,L]
|
RewriteRule /dynmap/up/(.*) http://localhost:8123/up/$1 [P,L]
|
||||||
|
RewriteRule /dynmap/standalone/(.*) http://localhost:8123/standalone/$1 [P,L]
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
<Directory /opt/minecraft_server/plugins/dynmap/web/tiles/>
|
<Directory /opt/minecraft_server/plugins/dynmap/web/tiles/>
|
||||||
|
Loading…
Reference in New Issue
Block a user