tracker issue : CF-3239392

select a category, or use search below
(searches all categories and all time range)
Title:

Messed up Apache Config File on Install

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): David Dykstra / David Dykstra (David Dykstra)

Created: 07/07/2012

Components: Installation/Config, Connector

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Mac 10.7 64-bit

Vote Count: 0

Problem Description:
The install incorrectly modifies the httpd.conf file. This and something else has caused issues with Apache not automatically opening index.cfm

Steps to Reproduce:
Install ColdFusion 10 on a fresh instal of OS X Lion.
Using Default Web Sharing provided with the system.

Actual Result:
In the httpd.conf the following changes are made

I have found this problem in the full release. I installed it on a fresh install of OS X Lion. It modified the httpd.conf file in the following ways:
"dex is added"
<IfModule dir_module>
     DirectoryIndex dex index.html
</IfModule>
...
and later on in the php module a x is added in DirectoryIndex and the index.cfm at the end of the line
...
<IfModule php5_module>
          AddType application/x-httpd-php .php
          AddType application/x-httpd-php-source .phps
          <IfModule dir_module>
DirectoryIndex x index.html index.php index.cfm
          </IfModule>
</IfModule>
...
and of course at the end it adds
...
Include "/private/etc/apache2/mod_jk.conf"

Expected Result:
everything except the "dex" and the "x" being added

Any Workarounds:
remove those oddities. However it still didn't fix the problem fully.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3239392

External Customer Info:
External Company:  
External Customer Name: David Dykstra
External Customer Email:  
External Test Config: My Hardware and Environment details:

iMac 27'

2.7GHz i5

Mac OS X Lion 10.7.4

Attachments:

Comments:

New Solution!!! <IfModule dir_module> DirectoryIndex dex index.html </IfModule> ... should have been ... <IfModule dir_module> DirectoryIndex index.cfm index.html </IfModule> Looks as if the parser used to modify httpd.conf in the install is making some mistakes. and the x in the php module shouldn't be there at all. This solved the problem David
Comment by External U.
18767 | July 07, 2012 09:51:34 AM GMT
Is there some other process which is updating the httpd.conf. We are not able to replicate this issue (Comment added from ex-user id:evelinv)
Comment by Adobe D.
18768 | July 09, 2012 11:13:59 PM GMT
This has been marked as UserError and withdrawn, but others (including myself) have experienced the same config issues. I think this still needs to be addressed and fixed.
Comment by External U.
18769 | August 22, 2012 03:40:15 AM GMT
We've not been able to reproduce this behavior. If there is some additional information you can provide to help us replicate this issue, could you please provide that?
Comment by Vamseekrishna N.
18770 | August 22, 2012 04:01:15 AM GMT
We were able to replicate this issue.We will evaluate the fix for this issue. (Comment added from ex-user id:evelinv)
Comment by Adobe D.
18771 | October 05, 2012 06:31:24 AM GMT
Now the index.cfml entry will be made in connector configuration file.
Comment by Kiran S.
18772 | January 02, 2013 05:05:50 AM GMT