OSX Mountain Lion removed the GUI for web sharing, but apache is still installed.
How do I start and stop the service? How do I get the service to automatically launch on startup?
Answer
The LaunchDaemon for Apache is still there as well, so all you have to do it load it:
sudo launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
The -w
makes it permanent, i.e. it'll be reloaded when you reboot.
No comments:
Post a Comment