[MacPorts] howto/MAMP modified

MacPorts noreply at macports.org
Wed Jan 2 14:39:12 PST 2013


Page "howto/MAMP" was changed by bpabbott at mac.com
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=64>
Revision 64
Comment: describe how to set the ServerName to avoid warning when starting/restarting Apache
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 63)
+++ howto/MAMP (version: 64)
@@ -32,6 +32,18 @@
 
 {{{
 sudo port load apache2
+}}}
+
+If the sever name is not set properly in the configuration file, `/opt/local/apache2/conf/httpd.conf`, you will encounter the warning below. 
+
+{{{
+httpd: Could not reliably determine the server's fully qualified domain name, using <Computer-Name>.local for ServerName
+}}}
+
+Where `<Computer-Name>` refers to the name of your computer as specified in the System Preferences Sharing pane.  To resolve the warning, edit the configuration file and set the server name appropriately.  For personal use, `localhost` is sufficient.
+
+{{{
+ServerName localhost:80
 }}}
 
 To verify Apache is now running, point your browser to http://localhost/ (you may need to reload the page). You should see a page that says "It works!"
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/MAMP>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

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


More information about the macports-changes mailing list