|
Instructional Module w50b
|
|
||
| |
|
|---|---|
Here are the basics:
Every disk has a "root directory" containing files and other directories. These subdirectories may contain other files and directories. How does this apply to the Web? As you have noticed, directories and subdirectories in URLs are separated by forward-slashes / In addition, the directory one level up can be represented by two dots .. and the current directory by a single dot . These dots can be used in creating links, as you can see in module W23d, "Understanding Relative and Absolute Addressing ".
|
|
|
On a Web Server
|
A Web server is a computer whose tasks include:
Often, the Web server has other duties to attend to, such as email handling, and virus detection. So the server computer has a large, complex directory tree, only part of which is dedicated to the Web. Software that handles Web services has to have some way of knowing where to start looking for Web files that people request. There are two general ways to point it in the right direction: If the Web files are all in one place:
If the Web files are spread around the server:
|
| |
|
|---|---|
|
Mirroring: How it Works
|
In many organizations, one person is in charge of the Web site - or a specific part of it. Since you're reading this, let's assume that person is you! How should you get started with your Web site organization, and how should you maintain it once it's up and running? A good, practical way to do this is on your own computer is called "mirroring":
The advantage of using exactly the same directory names and file structures in both places is that you can create relative file links and have them work both on your own computer and on the server. Put files in your public_html directory only when they are ready to go up on the Web. Don't put practice files, or large Photoshop or other graphics files in public_html. Instead, create a separate directory for each class or project outside public_html for files that don't go on the server. |
|
Creating a Mirror Site
|
Do it!Use Windows Explorer to create a Web structure on your own disk space. It should have:
|
| |
|
|---|---|
![]() |
|
|
Audience
|
|
| Objectives |
On successful completion of this module, you will be able to: |
| Module w50b: Web Site Setup |
This document is part of a modular instruction
series in Computer Instruction. For more information, see the overview
or the list of modules in this series, W: World Wide
Web. This document has been used in the following classes: INP
150.
|
| History: |
Original: 3 June 2004, by Laurence J. Krieg
Last modification: Monday, 31-Aug-2009 11:48:06 EDT |
| Copyright |
Copyright © 2004, Laurence
J. Krieg, Washtenaw Community College
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |