i want to use the same httpd.conf file on multiple servers. Right now, when i migrate i need to change values for
NameVirtualHost
the VirtualHost tag
'Allow from' lines
ServerName
ServerAlias
Listen IP
names of my log file
...
It becomes a large 'find and replace' exercise.
what i am looking for is a way to declare these at the top of the file and use them throughout. here is the basic idea
Code:
<property name="ipaddress" value="192.168.1.123" />
<property name="server1" value="www.superball.com" />
NameVirtualHost ${ipaddress}
<VirtualHost ${ipaddress}:80>
ServerName ${server1}
...
Does apache support this type of functionality?