Understanding Basic Website Concepts

Before you manage any websites, it is important to know where critical Apache and website files are stored. All Apache and Apple configuration files for web services are located in /private/etc/apache2/, which is normally hidden from view in the Finder. Apache modules—including Apple-specific modules—are located in /usr/libexec/apache2/, which is also normally hidden from view in the Finder. The default location for Lion Server’s website is located in /Library/Server/Web/Data/Sites/.

Note

This location for the site files is new in Lion Server. The old location at /Library/WebServer/Documents still exists but is not used in the default web service configuration.

As in prior versions, each user added to OS ...

Get Apple Pro Training Series: OS X Lion Server Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.