IPv6 OpenSuse Apache2

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Installation

  • zypper install apache2

Konfiguration

  • mkdir -p /srv/www/vhosts/opensuse.linuggs.de

/etc/apache2/vhosts.d/vhost.conf

<VirtualHost  [2a02:24d8:71:2445::102]:80>
    ServerAdmin webmaster@opensuse.linuggs.de
    ServerName opensuse.linuggs.de
    DocumentRoot /srv/www/vhosts/opensuse.linuggs.de
    ErrorLog /var/log/apache2/opensuse.linuggs.de-error_log
    CustomLog /var/log/apache2/opensuse.linuggs.de-access_log combined
    HostnameLookups Off
    UseCanonicalName Off
    ServerSignature On
    <Directory "/srv/www/vhosts/opensuse.linuggs.de">
        Options Indexes FollowSymLinks
        AllowOverride None
        <IfModule !mod_access_compat.c>
            Require all granted
        </IfModule>
        <IfModule mod_access_compat.c>
            Order allow,deny
            Allow from all
        </IfModule>
    </Directory>
</VirtualHost>