Backup homepage old: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
== Apache ==
== Apache ==
=== Voraussetzungen ===


Module ''include'' aktivieren:
Module ''include'' aktivieren:

Version vom 10. Juli 2016, 14:24 Uhr

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