To turn it on, you can either use the pretty menu windows or the command line.
The pretty menu windows way:
Go to System Preferences > Sharing, and click on Web Sharing
The command line way:
Open terminal and type “apachectl start” to start it, or “apachectl stop” to stop it.