apache config für mpd

<VirtualHost *:80>
      ServerAdmin rz@shackspace.de

      DocumentRoot /var/www
      <Directory />
              Options FollowSymLinks
              AllowOverride None
      </Directory>
      <Directory /var/www/>
              Options Indexes FollowSymLinks MultiViews
              AllowOverride All
              Order allow,deny
              allow from 10.42.0.0/16
      </Directory>

      ErrorLog ${APACHE_LOG_DIR}/error.log

      # Possible values include: debug, info, notice, warn, error, crit,
      # alert, emerg.
      LogLevel warn

      CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

<VirtualHost *:80>
      ServerAdmin rz@shackspace.de
      ServerName lounge.mpd.shack

      ProxyRequests On
      ProxyVia On
      <Proxy *>
              Order deny,allow
              Allow from all
      </Proxy>

      ProxyPass / http://lounge.shack:8081/
      ProxyPassReverse / http://lounge.shack:8081/
</VirtualHost>

Dazu noch so ne Weiterleitung in /var/www/lounge ablegen

shack_wie_tut_der_mpd/apache_config.txt · Zuletzt geändert: 2012/04/15 20:01 von 93.231.137.59