I'm using Mac OS X server 10.6.6. I want to have a custom configuration for mod_autoindex. There is a mod_autoindex section in the httpd.conf, however, if I edit the httpd.conf file manually (/private/etc/apache2/httpd.conf), some of the changes I make there get overwritten when the server restarts, sometimes.
OS X server doesn't really intend for you to manually edit httpd.conf, I take it. It wants to maintain httpd.conf on it's own. Is it possible to make custom configurations for a module, specifically the mod_autoindex module? I've looked around in the documentation but see no support for how to do something like this on mac OS X server:
<IfModule mod_autoindex.c>
##
Options Indexes FollowSymLinks
IndexOptions FancyIndexing
IndexOptions VersionSort
IndexOptions HTMLTable
IndexOptions FoldersFirst
IndexOptions IconsAreLinks
IndexOptions IgnoreCase
IndexOptions SuppressDescription
IndexOptions SuppressHTMLPreamble
IndexOptions XHTML
IndexOptions IconWidth=16
IndexOptions IconHeight=16
IndexOptions NameWidth=*
IndexOrderDefault Descending Name
HeaderName /index-style/header.html
ReadmeName /index-style/footer.html
#
Blah blah blah
</IfModule>