Updated Setting up Dynamic Map with apache2 under Debian (markdown)

mikeprimm 2011-08-30 20:04:22 -07:00
parent d6dc3876df
commit fe1a58f673
1 changed files with 2 additions and 1 deletions

@ -14,7 +14,7 @@ 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`:
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
...
@ -22,6 +22,7 @@ Next, we must 'redirect' `/dynmap/up/` to dynmap's internal webserver. To do thi
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/>