I have compared the httpd.conf before coldfusion, to the one after, using a file comparison tool.
So these are all the changes I have detected and would need to preserve:
1) The adobe air line inside this block
Code:
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/vnd.adobe.air-application-installer-package+zip .air
AddType application/x-gzip .gz .tgz
</IfModule>
2) The following block after the <IfModule prefork.c>..</IfModule>
Code:
# JRun Settings
LoadModule jrun_module /opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so
<IfModule mod_jrun22.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore /opt/coldfusion9/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51800
#JRunConfig Errorurl url <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>
3) Added index.cfm to the DirectoryIndex line
Code:
# DirectoryIndex is set via the WHM -> Service Configuration -> Apache Setup -> DirectoryIndex Priority
DirectoryIndex index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html index.cfm
4) Added this at the end of httpd.conf file
Code:
<Files ~ ".hbmxml$">
Order allow,deny
Deny from all
</Files>
How can I ensure these changes are preserved when httpd.conf is regenerated?
Thanks.