On Linux: chkconfig httpd on
On Mac: sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
On Linux: chkconfig httpd off
On Mac: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
On Linux: chkconfig httpd on
On Mac: sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
On Linux: chkconfig httpd off
On Mac: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist