apache2 httpd 2.4.2

Bjarne D Mathiesen macintosh at mathiesen.info
Sun May 27 08:19:08 PDT 2012


Bradley Giesbrecht wrote:
> 
> Apache2 violates mtree. This may be a good time to finally fix this.
> 
> Something like only prefixed:
> http://wiki.apache.org/httpd/DistrosDefaultLayout#Gentoo_.28Apache_httpd_2.2.29:

As far as I can see, we are presetly using this modification of
Apache httpd 2.2 default layout (apache.org source package):

ServerRoot              ::      ${prefix}/apache2
DocumentRoot            ::      ${prefix}/apache2/htdocs
Apache Config File      ::      ${prefix}/apache2/conf/httpd.conf
Other Config Files      ::      ${prefix}/apache2/conf/extra/
ErrorLog                ::      ${prefix}/apache2/logs/error_log
AccessLog               ::      ${prefix}/apache2/logs/access_log
cgi-bin                 ::      ${prefix}/apache2/cgi-bin
binaries (apachectl)    ::      ${prefix}/apache2/bin
start/stop              ::      ${prefix}/apache2/bin/apachectl

How about this :
I think this brings it nicely into the mtree :

ServerRoot              ::      ${prefix}/www/
DocumentRoot            ::      ${prefix}/www/htdocs
Apache Config File      ::      ${prefix}/etc/apache2/conf/httpd.conf
Include Files           ::      ${prefix}/include/apache2
Other Config Files      ::      ${prefix}/etc/apache2/conf/extra/
Module Locations        ::      ${prefix}/lib/apache2/modules
ErrorLog                ::      ${prefix}/var/logs/apache2/error_log
AccessLog               ::      ${prefix}/var/logs/apache2/access_log
cgi-bin                 ::      ${prefix}/www/cgi-bin
binary                  ::      ${prefix}/sbin/httpd
start/stop              ::      ${prefix}/sbin/apachectl
apxs                    ::      ${prefix}/bin/

:-)
--
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list