After upgrading to OS X 10.8, some of you might have noticed that the “Web Sharing” option is no longer available from the Sharing Panel of Systems Preferences.
While Apple has removed the user-interface (a mere checkbox) for Apache (the Web/HTTP service), it is still available and installed in Mountain Lion, fully functional.
To turn it on:
$ sudo apachectl start
To turn it off:
$ sudo apachectl stop
Apache configuration files are available in