[MacPorts] #21315: Apache2 install location does not seem to conform as well as it could to MacPorts installation directory guideline
MacPorts
noreply at macports.org
Fri Sep 11 14:18:23 PDT 2009
#21315: Apache2 install location does not seem to conform as well as it could to
MacPorts installation directory guideline
------------------------------+---------------------------------------------
Reporter: scott@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port:
------------------------------+---------------------------------------------
Comment(by scott@…):
My suggestion would be to follow the Apache 2 layout that Apple provides,
but use prefix as "root".
/etc/apache2 -> /opt/local/etc/apache2
/usr/sbin/{apache bins} -> /opt/local/sbin/{apache bins}
/var/log/apache2 -> /opt/local/var/log/apache2
/usr/libexec/apache2/ -> /opt/local/libexec/apache2
The rest of the parts follow the same pattern. I think some discussion
would need to be made as to where the actual http docs files live, if they
live in prefix somewhere, or if they were to be pointed to
/Library/WebServer/Documents. That I am not sure what would be the most
logical structure to follow.
This all makes a lot of sense to me. I can see some resistance, as a lot
of people are going to like the "clean" all in one place method. It comes
at a sacrifice, to have to add a special sbin path to your PATH, when
/opt/local/sbin/ could cover it fine. Those also coming from Apache 2 on
OS X default, would feel much more at home, as they need not learn any new
path locations, as long as they can re-reference in their head, that
"prefix" becomes "/".
--
Ticket URL: <http://trac.macports.org/ticket/21315#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list