timbru31

Dynmap

Apr 6th, 2012
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3. ServerName dynmap.dustplanet.de
  4.  
  5. DocumentRoot /var/www/dynmap
  6. <Directory />
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory /var/www/dynmap/>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride All
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  16.  
  17. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. <Directory "/usr/lib/cgi-bin">
  19. AllowOverride None
  20. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. Order allow,deny
  22. Allow from all
  23. </Directory>
  24.  
  25. ErrorLog ${APACHE_LOG_DIR}/error.log
  26.  
  27. # Possible values include: debug, info, notice, warn, error, crit,
  28. # alert, emerg.
  29. LogLevel warn
  30.  
  31. CustomLog ${APACHE_LOG_DIR}/access.log combined
  32.  
  33. Alias /doc/ "/usr/share/doc/"
  34. <Directory "/usr/share/doc/">
  35. Options Indexes MultiViews FollowSymLinks
  36. AllowOverride None
  37. Order deny,allow
  38. Deny from all
  39. Allow from 127.0.0.0/255.0.0.0 ::1/128
  40. </Directory>
  41.  
  42. Alias /dynmap/tiles /home/minecraft/server/plugins/dynmap/web/tiles/
  43.  
  44. RewriteEngine on
  45. RewriteRule /dynmap/up/(.*) http://localhost:5467/up/$1 [P,L]
  46. RewriteRule /dynmap/standalone/(.*) http://localhost:54673/standalone/$1 [P,L]
  47. </VirtualHost>
  48.  
  49. <Directory /home/minecraft/server/plugins/dynmap/web/tiles/>
  50. Order allow,deny
  51. Allow from all
  52. </Directory>
  53.  
  54. <Proxy http://localhost:5467/*>
  55. Order deny,allow
  56. Allow from all
  57. </Proxy>
Advertisement
Add Comment
Please, Sign In to add comment