Changes between Version 56 and Version 57 of howto/MAMP
- Timestamp:
- Nov 19, 2010, 5:08:59 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v56 v57 74 74 Restart Apache using `sudo /opt/local/apache2/bin/apachectl -k restart` to make this change take effect. You can then view your personal pages by accessing http://localhost/~username/, where "username" is your Mac OS X account's short name. 75 75 76 However, the purpose of launchd is to notice processes that stop without its knowledge, and to restart them. So if you use apachectl -k restart, launchd may notice apache "crashing" and restart it itself, confusing apachectl. Instead, you may want to use launchctl to unload apache2, then load it again. This will result in a short interruption of service. 77 78 This is done by using 79 80 {{{ 81 sudo launchctl unload -w /Library/LaunchDaemons/org.macports.apache2.plist 82 }}} 83 84 to stop apache and then using 85 86 {{{ 87 sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist 88 }}} 89 90 to start it again. 91 76 92 ==== Local Apache manual ==== #manual 77 93 … … 89 105 90 106 Restart Apache using `sudo /opt/local/apache2/bin/apachectl -k restart` to make this change take effect. You can then view the manual by accessing http://localhost/manual/. 91 92 107 93 108 ==== Secure Sockets (https) ==== #ssl