Loading ...
Sorry, an error occurred while loading the content.

71956RE: netrw v103b

Expand Messages
  • Hugo Ahlenius
    Aug 2 4:41 AM
    • 0 Attachment
      | -----Original Message-----
      | From: A.J.Mechelynck [mailto:antoine.mechelynck@...]
      | IIUC, when an http: URL ends in a slash, or when it names a directory
      | even without a slash, the server retrieves the default page (if any)
      | in the directory in question; and it is up to the server to determine
      | what this default page shall be. On user sites of my ISP, the default
      | page is one of index.htm, INDEX.HTM, index.html or INDEX.HTML,
      | whichever is present, or if none is, a server page saying "The page
      | you are trying to access is not present on this server" with the ISP
      | logo and blue-and-white color scheme; but I've seen other sites where
      | the default page is named index.php, default.html, ... You never get a
      | directory listing unless the default page itself includes a directory
      | listing (e.g., at http://ftp.vim.org/pub/vim/patches/7.0/ you get the
      | contents of the README file _plus_ a directory listing in HTML).

      Yep. It is all up to the server, the http protocol doesn't really recognize
      concepts such as directories or files, it is URLs. A trailing slash could
      return a 30x redirect to a file (such as index|default.xxx) or return a html
      web-page. That page, might look like a directory listing, as that
      ftp.vim.org example - but the client or the protocol doesn't recognize it as
      anything other than a normal http request...

    • Show all 11 messages in this topic