Wednesday, September 19, 2007

Today I returned two assignments: the sykesda Web site organization and the worksheet for chapter 3. I think the best organization for the sykesda Web site is to have a folder for each course and then put all the files for a course in that course's folder, including the images for the textbooks. Those images go in an images sub-folder for a course folder. I like the parallel organization. Notice that I have renamed many of the HTML files. Knowing what we now do, all the files named home.html will be renamed to index.html. [You should figure out why!] [Full solution.]

One more thing to keep in mind: path names in attributes should match the case of letters used on the Web server. Windows servers are not case-sensitive, but Mac and Linux servers sometimes are.

I showed you how to transfer files to a Web server using an FTP program. (We used welcome.html and hey.html.) Our server, cs.wofford.int, requires use of secure FTP (SFTP). Some Web servers do not require secure transfers and accept plain ol' FTP. The program we used, Secure Shell Client, runs on a Windows machine. The program Filezilla is a little easier to use [you want the client]. In runs on a PC and a Mac. On a Mac, I've also had good luck running Fugu. Your root folder should be accessible in the www folder that you see on the remote computer. If you have trouble with that, then use this path on the remote to get to your root folder: /var/www/html/yourusername/

Homework

For Friday by the start of class, put a Web page on cs.wofford.int that will serve as your home page for this course. I should be able to reach this page using the URL http://cs.wofford.int/yourusername/. On the page put the following information: Your name, your CPO number, a local phone number, your Wofford e-mail address, and a picture of you (or of something). The file for the picture should be in an images folder. A favicon would also be nice.

Keep in mind that this server is accessible only from the campus network so you must use a computer connected through the campus network as your SFTP client. Your username is the same one you use to read your e-mail and log into lab computers. But your password is your W number (with a capital "W").

No comments: