Restart Apache in Mac OS X

I miss using a Mac, saving up to get the latest MacBook Pro.

Here is quick tip for an alternative method on how to restart Apache using the Terminal. Long method is go to Preferences then Sharing and disable enable Personal Web Sharing.

Shortcut is

Open the Mac OS X Terminal window then type in.

sudo /usr/sbin/apachectl restart