/111/ is our shorthand syntax for referring to the 111 site root folder on both the local host and the remote host.
Our web server is uoregon.edu, which uses the Unix operating system.
In Unix pathnames, tilde (~) is expanded by the Unix shell into the path to a user's home directory.
As an example, suppose Jille Bonnefemme has DuckID username jilleb, and her home directory on uoregon.edu is /home7/jilleb/. So for Jille, tilde (~) is an abbreviation for the pathname to her home directory: /home7/jilleb/.
On the remote server, Jille will create the directory ~/public_html/111/. (The full pathname is /home7/jilleb/public_html/111/).
We can say "Jille's 111 directory," "Jille's 111 folder," "Jille's 111 site folder," or "Jille's 111 root folder". They all mean the same thing.
This diagram shows Jille's 111 folder organization on the server (the remote host):
/
|
home7
|
jilleb
|
public_html
|
111
|
---------------------------------------------------
/ / / / / | \ \ \
p1 p2 p3 p4 fp examples css images js
The computer you are using for projects in this class could be running Windows, OS X or even Linux (a variant of Unix). That does not mattter-- the essential concept is that your site folder will have the same organization as the site directory on the remote server.
Suppose Jille uses a Windows PC to do her projects. This diagram shows the folder structure on the computer she is using (the local host):
C:
|
My Documents
|
111
|
---------------------------------------------------
/ / / / / | \ \ \
p1 p2 p3 p4 fp examples css images js
Although Jille has her 110 folder in the My Documents folder on the C: drive, that is not a requirement-- you can store your site folder anywhere on the local computer: on the desktop, a USB drive, etc.
Jille has the identical folder organization on both the local and remote computers.
Always maintain the identical folder/directory structure on your computer and the web server (e.g., uoregon.edu).
Reason: If you maintain the same site architecture on both the local and remote
hosts all pathnames and URL's will work correctly on both hosts, with no changes required as you upload web pages to the server.