| 20 | |
| 21 | == October 2017 - Apache 2.4.x == |
| 22 | In October of 2017 Apache 2.2.x was upgrade to Apache 2.4.x. This involved a significant set of changes as listed in the Notes of the portfile: |
| 23 | |
| 24 | Apache2 has been migrated from the 2.2.x to the 2.4.x branch. |
| 25 | |
| 26 | The install paths have been changed to no longer violate the MacPorts mtree: |
| 27 | |
| 28 | 1. The binaries are now under /opt/local/sbin/ |
| 29 | (rather than under /opt/local/apache2/bin/) |
| 30 | |
| 31 | 2. The configure files are now under /opt/local/etc/apache2/ |
| 32 | (rather than under /opt/local/apache2/conf/) |
| 33 | |
| 34 | 3. The modules are now under /opt/local/lib/apache2/modules/ |
| 35 | (rather than under /opt/local/apache2/modules/) |
| 36 | |
| 37 | 4. The web root is now located under /opt/local/www/apache2/html/ |
| 38 | (rather than under /opt/local/apache2/htdocs/) |
| 39 | |
| 40 | 5. The cgi-bin is now located under /opt/local/www/apache2/cgi-bin/ |
| 41 | (rather than under /opt/local/apache2/cgi-bin/) |
| 42 | |
| 43 | 6. The logs are now located under /opt/local/var/log/apache2/ |
| 44 | (rather than under /opt/local/apache2/logs/) |
| 45 | |
| 46 | 7. The manual is now located under /opt/local/www/apache2/manual/ |
| 47 | (rather than under /opt/local/apache2/manual/) |
| 48 | |
| 49 | 8. The manual (man) pages are still at /opt/local/share/apache2/man/ |
| 50 | |
| 51 | You can move your htdocs and cgi-bin to the new locations, or edit /opt/local/etc/apache2/httpd.conf to point at the old |
| 52 | locations. |
| 53 | |
| 54 | |