From c329b13c29df9caad0978a316bcee485c9a0efa3 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 27 Nov 2024 09:55:02 -0800 Subject: [PATCH] fix call to AliasDomain var --- etc/apache2/mods-available/macro.conf | 36 +++++++++++++-------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/etc/apache2/mods-available/macro.conf b/etc/apache2/mods-available/macro.conf index be93bbb..483c0f3 100644 --- a/etc/apache2/mods-available/macro.conf +++ b/etc/apache2/mods-available/macro.conf @@ -31,7 +31,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -48,7 +48,7 @@ ServerName $subdomain.$vhost - ServerAlias $subdomain.$vhost.$AliasDomain + ServerAlias $subdomain.$vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html/$subdomain @@ -57,13 +57,13 @@ -# VHostHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for $AliasDomain subdomain +# VHostHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for ${AliasDomain} subdomain ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -85,7 +85,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -113,12 +113,12 @@ -# VHostSubdomainHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for $AliasDomain subdomain +# VHostSubdomainHTTPS - HTTPS on Port 443. Inludes Port 80 and ServerAliases for ${AliasDomain} subdomain ServerName $subdomain.$vhost - ServerAlias $subdomain.$vhost.$AliasDomain + ServerAlias $subdomain.$vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html/$subdomain @@ -135,7 +135,7 @@ ServerName $subdomain.$vhost - ServerAlias $subdomain.$vhost.$AliasDomain + ServerAlias $subdomain.$vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html/$subdomain @@ -152,7 +152,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -167,7 +167,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} RequestHeader set X-Forwarded-Proto https ProxyPreserveHost On @@ -183,7 +183,7 @@ ServerName $subdomain.$vhost - ServerAlias $subdomain.$vhost.$AliasDomain + ServerAlias $subdomain.$vhost.${AliasDomain} DocumentRoot /srv/www/$vhost/html/$subdomain @@ -193,7 +193,7 @@ ServerName $subdomain.$vhost - ServerAlias $subdomain.$vhost.$AliasDomain + ServerAlias $subdomain.$vhost.${AliasDomain} RequestHeader set X-Forwarded-Proto https ProxyPreserveHost On @@ -247,7 +247,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} @@ -262,7 +262,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} @@ -274,7 +274,7 @@ ServerName $vhost ServerAlias www.$vhost - ServerAlias $vhost.$AliasDomain + ServerAlias $vhost.${AliasDomain} @@ -291,7 +291,7 @@ ServerName $alias ServerAlias www.$alias - ServerAlias $alias.$AliasDomain + ServerAlias $alias.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -309,7 +309,7 @@ ServerName $alias ServerAlias www.$alias - ServerAlias $alias.$AliasDomain + ServerAlias $alias.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/" @@ -331,7 +331,7 @@ ServerName $alias ServerAlias www.$alias - ServerAlias $alias.$AliasDomain + ServerAlias $alias.${AliasDomain} DocumentRoot /srv/www/$vhost/html ScriptAlias /cgi-wrap/ "/usr/local/lib/cgi-wrap/$vhost/"