Mac OS X Personal Web Sharing

# Your website here. Now you can use Mac OS X Personal Web Sharing to publish web pages or share files on the Internet — or on your company’s (or school’s) local area network — from a folder on your hard disk. You can display your documents on the Internet — or restrict access to a chosen few within a local area network. Mac OS X Personal Web Sharing makes it a snap. Here’s how it works: Once you’re online, all you need to do is copy a file in HTML format to the Web Pages folder (in the Sites folder in your Home directory, on your computer’s hard disk), and that’s it. You’re done — your page is ready for viewing. Make sure you have someone handy to exchange high fives with.
It’s so easy that even a first-timer can do it (by the way, if that describes you, see the sidebar to learn how you can use your word processing application to generate HTML documents quickly and easily with just a few clicks of a mouse). Something else you’ll notice about Mac OS X Personal Web Sharing: as server software goes, it’s about as stable as a block of granite. That’s because it’s built on the Apache web server, one of the many industrial-strength, industry-standard technologies that are part of the modern Darwin core foundation underlying Mac OS X. Apache web server Apache is, in a nutshell, a continually evolving hunk of server software that’s both free and priceless at the same time. One of the absolute gems to emerge out of the open source movement, Apache is free in the sense that it’s not proprietary. Programmers essentially have the freedom to do what they want with the source code once they have it — provided they pass along to other programmers the same rights and privileges to change and modify the source code that they themselves had when they first got their mitts on it. The Apache server started out as a project at the National Center for Supercomputing Applications, University of Illinois, Urbana-Champaign. Since then Apache has been continuously developed and strengthened by members of the open source community (who also helped develop certain core areas of Mac OS X). The Apache server has earned such a reputation for rock-solid reliability that it currently hosts over half the websites on the Internet — and almost all of the coolest and most heavily-visited ones. Including Apple’s own website — and now yours, too. | Quick Start Guide to Personal Web Sharing 1. Make sure you have a working network connection. (Consult your network administrator or other expert if you need assistance.) 2. Open System Preferences and select the Sharing preference pane. Turn on Web Sharing by clicking the start button. Note the IP Address that appears under “Network Identity” in the preferences pane. (Be sure to copy the address exactly as it appears. If you see two addresses, you can use either one.) 3. Drag the HTML documents you want to share to the Sites folder in your home directory. 4. You can also substitute your own content for the text, graphics, and links in this document (the one you’re reading right now) to create a customized welcome page. It’s named “index.html,” and it’s in your Sites folder. 5. Your new website’s URL is: http://yourIPAddress/~yourshortusername/. You’ll find your short user name by opening System Preferences and selecting the Users Preference pane. Click on your name and then click on Edit User. Give this address to the people on your intranet (make sure they don’t forget that last “/”). They can connect to your server and view your published documents by typing this address in their web browser. For more information about serving web pages, please refer to the Apache manual. HTML, anyone? Yes, anyone. Because the good news is that you don’t have to learn HTML to use it: leading word processing applications actually generate HTML documents for you. For the benefit of new users: HTML — short for hypertext markup language — is what webmasters and designers use to publish text and graphics on the Internet in a form that can be read by anyone using a Mac or PC. In the latest version of Microsoft Word, for instance, all you have to do is open the document you wish to publish and select Save as HTML in your File menu. And that’s it. Word will save your work as an HTML document, ready for publishing on the Internet. In AppleWorks 6, select Save As in your File menu, and pick HTML in the pop-up menu. Next, just type in the name you want to save the document under and click on the Save button, and it’s like boom — instant HTML.