Backup homepage old

Aus Tutorials
Version vom 10. Juli 2016, 14:24 Uhr von Martin Kirner (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Apache

Voraussetzungen

Module include aktivieren:

sudo a2enmod include

Konfiguration

cd /etc/apache2/sites-available/
sudo nano homepage_old.conf
<VirtualHost *:80>
        ServerAdmin martin.kirner@gmx.at

        ServerName www.kirner.or.at
        ServerAlias www.kirner.or.at

        DocumentRoot /var/www/homepage_old/html

        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml

        <Directory /var/www/homepage_old/html/>
                Options Indexes FollowSymLinks MultiViews Includes
                AllowOverride All
                Order allow,deny
                Allow from all
                Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/www.kirner.or.at-error.log
        CustomLog ${APACHE_LOG_DIR}/www.kirner.or.at-access.log combined
</VirtualHost>


Zurück zu Backups erstellen