Please send questions to
st10@humboldt.edu .
Projected notes - Lecture #1
* ssh into sorrel - see newweb> prompt
* do you have a public_html directory?
newweb> ls
* IF it doesn't exist: create it:
newweb> mkdir public_html
* IF it exists -- double check that it is world readable
and executable
newweb> ls -ld public_html
* IF its permission are NOT drwxr-xr-x
THEN do:
newweb> chmod 755 public_html
* IF your username is abc34 and you placed a file named
myfile.html inside of public_html, this URL would
allow a browser to display it:
http://www.humboldt.edu/~abc34/myfile.html
* what if the browser says something about not having
permission? THEN make myfile.html world-readable:
newweb> cd public_html
newweb> chmod 644 myfile.html
* index.html are "special" --- if a file with this name
is in public_html directory, then that will be displayed
when no file is indicated (just ~username)
http://www.humboldt.edu/~username