I messed up my Apache config file, httpd.conf.
I followed this article, http://emresaglam.com/blog/1035, to try and find the original httpd.conf inside Install OS X Mountain Lion.app.
The article says that the Bom files ("Bill of Materials"), "describes what is in this pkg file and where they will be written to."
Install OS X Mountain Lion.app -> Contents\SharedSupport\InstallESD.dmg -> Packages\***.pkg -> Bom
However, the Bom files don't seem to be a complete listing. I extracted the contents of the Payload for Essentials.pkg and there was more to it then listed in its Bom.
Is there a better way to navigate and find the file I need from the installer, besides extracting the contents of each pkg file's Payload? Any tips or resources would be greatly appreciated!
Thanks!
Best Answer
When I first commented on your question, I was hindered by not having discovered httpd.conf on my own system. Now I have found it, however, and I can find out what packages owns it as follows:
Note:
com.apple.pkg.BSD
is a package name, not a filename. You can find a list of all packages thatpkgutil
knows about by runningAlso note that running the above command on
/etc/apache2/httpd.conf
does not yield a useful result, because/etc
is a symbolic link to/private/etc
.