Chaps,
Given the following config
<Macro VHostMacro $server $alias $docroot $port $rport $conf>
<VirtualHost *:$port>
ServerName $server
ServerAlias $alias
DocumentRoot $docroot
Include conf/$conf
</VirtualHost>
</Macro>
Sample of $conf
ProxyRequests off
ProxyPassReverse / http://127.0.0.1:$rport/
ProxyPreserveHost on
The problem I have is that mod_macro vars (in this case $rport) does not get passed through to the include.
Is this a limitation of mod_macro or can we somehow get those vars to parse in the included files.