URL's -- what works.
Note: at the end of this document is a description of what your URL should look like. Material prior to that is an explanation of why it should.
Don't use spaces or punctuation in web file names.
The W3C (World Wide Web Consortium) which "develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web" defines URL as follows:
- URL
- Uniform Resource Locator. The set of URI schemes that have explicit instructions on how to access the resource on the internet.
Accordingly, such addresses as
would all qualify since each contains information sufficient to instruct the web browser to unambiguously locate these internet resources.
However, addresses like
Z:\srufaculty\david.dailey\cs130\index.htm
or
or
C:\web\c\colors.html (or even the synonymous file:\\C:\web\c\colors.html or
file:///C:/web/c/colors.html)
would not satisfy this definition since they refer to pathnames on local (or local area network-mounted) hard drives that are a) possibly not accessible through the Internet and b) addressed through non-uniform (locally defined) addressing schemes.
Examples:
| will not work machines other than yours |
will not work off-campus, in UNIX or on Macintoshes. |
will work anywhere |
| H:\mystuff\good.html | Z:\srufaculty\david.dailey\cs130\index.htm | http://www.sru.edu |
Generally, if a path contains a drive letter (like C: or Z:) don't use it as a part of your URL -- it is not "uniform."
Note: the URL of your class web space will look something like:
http://webclass.sru.edu/cpsc427-01.0108/QXQ1234/assignment4.htm
(But with your course number and section, your username and your filename.)
To make this more concrete, if you are in cpsc130 section 02 then your URL will look like
http://webclass.sru.edu/CPSC130-02.0108/yourname/yourfile.htm
or, if you are in section 03 then it will look like:
http://webclass.sru.edu/CPSC130-03.0108/yourname/yourfile.htm
Instead of typing "yourname" though you should type your windows username.
Instead of typing "yourfile.htm", you should type the name of your HTML document.
You may be prompted to login. If so, use
srunet\yourusername
as the login, and your SRU windows password as your password. Also note that even if you can't login (our systems folks will be working on this) the above format of the URL should be valid.