[MacPorts] howto/Apache2 modified

MacPorts noreply at macports.org
Sat Oct 21 01:24:06 UTC 2017


Page "howto/Apache2" was changed by whmagill
Diff URL: <https://trac.macports.org/wiki/howto/Apache2?action=diff&version=15>
Revision 15
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Apache2
=========================================================================
--- howto/Apache2 (version: 14)
+++ howto/Apache2 (version: 15)
@@ -17,6 +17,41 @@
 * '''apache''': Apache HTTP Server v1.3.x. This version reached [http://mail-archives.apache.org/mod_mbox/httpd-announce/201002.mbox/%3c20100203000334.GA19021@infiltrator.stdlib.net%3e end of life] in 2010 and is therefore not recommended.
 
 This page shows how to install and use the apache2 port. The instructions cannot be easily adapted to the other ports.
+
+== October 2017 - Apache 2.4.x ==
+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:
+
+Apache2 has been migrated from the 2.2.x to the 2.4.x branch.
+    
+    The install paths have been changed to no longer violate the MacPorts mtree:
+    
+    1. The binaries are now under /opt/local/sbin/
+       (rather than under /opt/local/apache2/bin/)
+    
+    2. The configure files are now under /opt/local/etc/apache2/
+       (rather than under /opt/local/apache2/conf/)
+    
+    3. The modules are now under /opt/local/lib/apache2/modules/
+       (rather than under /opt/local/apache2/modules/)
+    
+    4. The web root is now located under /opt/local/www/apache2/html/
+       (rather than under /opt/local/apache2/htdocs/)
+    
+    5. The cgi-bin is now located under /opt/local/www/apache2/cgi-bin/
+       (rather than under /opt/local/apache2/cgi-bin/)
+    
+    6. The logs are now located under /opt/local/var/log/apache2/
+       (rather than under /opt/local/apache2/logs/)
+    
+    7. The manual is now located under /opt/local/www/apache2/manual/
+       (rather than under /opt/local/apache2/manual/)
+    
+    8. The manual (man) pages are still at /opt/local/share/apache2/man/
+    
+    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
+    locations.
+
+
 
 = Step 1: '''Turn off Apple's "Personal Web Sharing"''' = #pws
 If you haven’t already done so, make sure you turn off Apple’s "Personal Web Sharing" so that the default Apache server is not running. While you can set things up so that both servers run on different ports (e.g., port 80 and port 8080), it’s not worth the hassle of maintaining two web server daemons. Just use the latest Apache from MacPorts and be done with it. 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/Apache2>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'howto/Apache2' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list