[MacPorts] #50965: Move apache24-devel to apache2

MacPorts noreply at macports.org
Mon Oct 16 13:53:56 UTC 2017


#50965: Move apache24-devel to apache2
-------------------------------------+------------------------
  Reporter:  grigutis@…              |      Owner:  ryandesign
      Type:  enhancement             |     Status:  new
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:
      Port:  apache24-devel apache2  |
-------------------------------------+------------------------

Comment (by MacTrophy):

 Thank you for 2.4 !

 Some notes that might help other users and/or package maintainers.

 First keep in mind that the configuration formats for 2.4 have changed a
 lot since 2.2, especially with configurations like {{{Deny}}},
 {{{Allow}}}, {{{Satisfy}}} and {{{Require}}}.
 [https://httpd.apache.org/docs/current/upgrading.html] helped us a lot 1-2
 years ago when we moved our Debian servers from Apache 2.2 to 2.4.

 The files seems to have been standardized in term of locations (at least
 for my installations)[[BR]]
 Old -> New[[BR]]
 {{{/opt/local/apache2/bin/apachectl}}} ->
 {{{/opt/local/sbin/apachectl}}}[[BR]]
 {{{/opt/local/apache2/conf}}} -> {{{/opt/local/etc/apache2}}}[[BR]]
 {{{/opt/local/apache2/logs}}} -> {{{/opt/local/var/log/apache2}}}[[BR]]

 I am not certain why it's this way but the PHP modules config files (5.6
 and 7.0 at least) are now in {{{/opt/local/etc/apache/extra}}} . I
 expected those in {{{/opt/local/etc/apache2/extra}}} may be it's for
 backward/forward compatibility with other Apache versions?

 The httpd daemon is running as (user and group) {{{daemon:daemon}}}, I
 think it was {{{www:www}}}

 If you enable {{{ssl_module}}} you will probably also need
 {{{socache_shmcb_module}}}.

 The TLSv1 is NOT disabled by default. It's recommended disabled since the
 end of 2016 in the {{{/opt/local/etc/apache2/extra/httpd-ssl.conf}}}.
 Consider adding {{{-TLSv1}}} at the end of the lines
 for {{{SSLProtocol}}} and {{{SSLProxyProtocol}}}.

 The default configuration of {{{/opt/local/etc/apache2/extra/httpd-
 userdir.conf}}} is not configured by default for OS X standards, you will
 need to change {{{UserDir public_html}}} value to {{{UserDir Sites}}} and
 {{{<Directory "/home/*/public_html">}}} to {{{<Directory
 "/Users/*/Sites">}}}.

--
Ticket URL: <https://trac.macports.org/ticket/50965#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list