Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises

Internet tips

Type/Edit/Paste URL in location line and hit return.
Only have to type from "www." rightwards. Browser fills in "http://" automatically.

http://host/dir/index.html
is the same as:
http://host/dir/

While one page is downloading, don't just sit there. Hit Ctrl-N to start a new window and pursue another link.
If things take forever, hit Stop! (Or Back).

Explore Options and Preferences.
Change your default home page to something sensible.

You can browse files on disk. Enter URLs like:

Check also:
file://localhost/

http://localhost/

http://127.0.0.1/




How to find your way about

Note the location line. Hover mouse over links and notice future location displayed in status line at bottom of screen.

Keep a bookmarks file.

Or just store all your bookmarks on Web pages (public or private). I do this. I don't use bookmarks.




How to follow a move, renaming or relocation ("404 - File Not Found")

Broken links are a necessary evil. It's why the Web scaled (no central database).
But it's still a real pain.

If a URL doesn't work, I often hack bits off to see:


  1. Say this URL used to work but is now gone:
      https://site/~user/dir/file 
    Try hacking bits from RHS:
      https://site/~user/dir/ 
    If that doesn't work, hack it from RHS again:
      https://site/~user/ 
    Maybe you will then find a redirect:
      https://newsite/~user/ 
    And then you can try adding bits back to the RHS. (People often move their sites entire to a new machine.)


  2. If still can't find it, you can try search engine, of course.

  3. Even if gone, if existed recently, it might be in search engine's cache.

  4. Even if really gone, it might be in Internet Archive.




How to get a raw directory listing

If URL works, but is incomprehensible home page:
  http://host/staff/user/user.htm
My algorithm:

Hack it again from RHS:
  http://host/staff/user/
not in the hope of finding an index.html - we figure that the user does not know about the index.html convention, and user.htm really is his home page - rather in the hopes that the directory is readable and so our browser can construct a raw list of his files for us to explore directly, without having to follow links through his home page.

Even if the directory is   r-x   if there exists an index.html then we can't see the raw listing. This is because the decision of what to send us when we type that URL is made at the server side. So even if the directory is   r-x   creating an index.html means, due to hard-coded server-side logic (that we can't influence), that the listing will never be sent to us.




ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.