This will give you the filename where DefaultDirectory is found in the file:
cd /home/e-smith/files/templates-custom/etc/httpd/conf/httpd.conf
grep -i -H "DefaultDirectory" *
Try the same for:
cd /home/e-smith/files/templates/etc/httpd/conf/httpd.conf
grep -i -H "DefaultDirectory" *
Make sure you remove all entries containing "DirectoryDefault".
Also note that "DirectoryDefault" should read as "DirectoryIndex". HTTP is hosing because DirectoryDeafult is not a valid HTTP directive. Replacing DirectoryIndex with DirectoryDefault should produce the desired effect.
[DirectoryIndex directives ]
Allows you to say DirectoryIndex index.html index.cgi, which instructs the server to either send back index.html or run index.cgi when a directory URL is requested, whichever it finds in the directory.
Example:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.htm index.html index.shtml index.cgi
DirectoryIndex index.htm index.html index.shtml index.cgi index.php index.php3
The template you want to modify would be:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/50DirectoryIndex00DFT
Add the lines:
DirectoryIndex default.htm default.html default.shtml default.cgi
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
If you have a look in /etc/httpd/conf/httpd.conf you should now see your new custom settings.
Evidently the author of the "DefaultDirectory" material was incorrect. The correct directive is DefaultIndex.
If I can be of further assistance let me know.
Hope this helped,
Nathan