Hi Jason
This can server as a mini-howto for anyone searching for this problem
The config files on E-Smith are dynamic. That is they are built automatically from "templates". These templates reside in /etc/e-smith/templates/
You will notice that there is a directory structure that remotely resembles the root structure:
etc
var
home
root
sbin
Within etc you sill see a directory for the appropriate configuration file:
eg /etc/e-smith/templates/etc/inittab
eg /etc/e-smith/templates/etc/httpd/conf/httpd.conf
Within this directory are a number of "templates". You will need to take a look through them and see which one would be the one that you would like to change. Each one affects the building of the actual configuration file.
You now need to make a "custom template slice"
you will do the following:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Once you have figured out which file you want to change then you need to copy that file to your new custom template directory.
e.g. cp /etc/e-smith/templated/etc/httpd/conf/httpd.conf/80Aliases00 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/80Aliases00
Edit it to reflect the change that you would like made.
You now need to "expand the template":
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
This will rebuild the actual httpd.conf file and your changes(if made correctly) will be reflected in your actual configuration file.
You can now restart httpd.
By making custom templates, all custom changes will be backed up and you will not have to redo them if the server is re-installed, and a backup is then restored.
Best Wishes
Paul McEnery
Senior Consultant
CCNA, RHCE, LPIC-1
'LinuxIT - Your Linux Solution Provider'
www.LinuxIT.comTel: +44(0) 117 373 1130