MacOS – Cleanup apache config for Lion Server

macososx-serverserveradmin

I have installed Lion Server on my box. (broke my existing VPN setup, and I wanted to play around with it).

I had a bunch of stuff already setup in apache (some webdav for omnifocus, ical, etc). Due to my customizations (I'm assuming) the server manager can't really do anything with apache (no ical, webdav, wiki, etc). What do I need to do to reset to a place where the Lion server software is happy with the way I've got my box setup?

Best Answer

You can restore the web server to factory settings.

  1. Turn off the Web Server service
  2. Open Terminal and run sudo serveradmin command web:command=restoreFactorySettings
  3. Enter your administrator password
  4. Restart Web Server service.