Benutzer-Werkzeuge

Webseiten-Werkzeuge


infrastruktur:mpd:apache_config

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

infrastruktur/mpd/apache_config.txt · Zuletzt geändert: 2017-06-21 16:35 von rixx