Update 'Extra_Domains/Apache_Domain.sh'

This commit is contained in:
tbergervoet
2018-10-03 12:05:10 +02:00
parent 47977d487a
commit 8a8ab0b128

View File

@@ -18,6 +18,12 @@ cat <<EOF > /etc/apache2/sites-available/"$domain.conf"
ServerName $domain
ServerAlias www.$domain
DocumentRoot /var/www/$domain/html
<Directory "/var/www/$domain/html">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog \${APACHE_LOG_DIR}/error.log
CustomLog \${APACHE_LOG_DIR}/access.log combined
</VirtualHost>