Providing Web Services
When you perform a default installation of Mac OS X, the industry-standard Apache Web server software is installed. This powerful software allows you to host websites on your Mac, servin213 pages to remote users across the Internet or to local users on an intranet.By default, Mac OS X creates a single main website for the computer and separate websites for each user with a home folder on that computer. These aren't full-blown sites like you find when you surf the Web; they are placeholders for sites that you can create.If you choose to create your own sites, which is completely optional, you need to understand how to creat211 documents, which is beyond the scope of this lesson. However, you can find many books on the subject, as well as third-party programs that make the process simple enough for nonprofessionals. To allow users to view web pages on your Mac OS X computer, enable Personal Web Sharing in the Services pane of Sharing preferences.

Using the Mac OS X Main Website
To access the main web page of your computer, open a web browser such as Safari, and in the address field, enter the URL followed by the IP address, DNS name, or local hostname of your computer, such ashttp://192.168.0.102
Creating Mac OS X User Websites
Whenever a new user account is created, Mac OS X creates a ~/Sites folder containing a file called 205 and an images folder.If you want to create and display a personal web page, you can replace this file and folder with whatever you need.[View full size image]

Enabling Personal Web Sharing
To allow users to view web pages on your Mac OS X computer, enable Personal Web Sharing. When you do so, Sharing preferences displays the URLs for your main web page and for user web pages. Users should enter these URLs into the address field of their web browsers to connect to this computer.Follow these steps to enable Personal Web Sharing on your computer:
Verifying Personal Web Sharing
In this exercise, you will view the web pages on your server.
Modifying the Home Page Files
Editing and creatin213 is beyond the scope of this book, but the basic concept is presented here to show the results of simple changes to the default web pages.To edit the main and user web pages, follow these steps:
Testing the Modified Home Page Files
To verify the changes you made, follow these steps: