To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 8313
8312  |  8314
Subject: 
Re: Server freakage today
Newsgroups: 
lugnet.admin.general
Date: 
Mon, 13 Nov 2000 22:48:30 GMT
Viewed: 
378 times
  
"Lars C. Hassing" <lch@ccieurope.com> wrote in message
news:974106662.774732@ns.cci.dk...

[snip]

Two or more slashes - well, I find it annoying that I have to type any • slash at all!
If I type "news.lugnet.com/cad/dev" I get the answer:
  Oops!
  The page you requested does not exist:
  http://news.lugnet.com/cad/dev
  However, a similarly named page does exist:
  http://news.lugnet.com/cad/dev/
What is the idea?

It's a convention. .../cad/dev points to a file and .../cad/dev/ points to a
directory. If directory browsing is not allowed the webserver serves the
default document in that directory.
Many filesystems do not allow files and directories to be of the same name
but if a filesystem does allow it, the '/'  distinguises between the two. So
the convention is to use the '/' at the end, so URLs are the same on all
kinds of filesystem-based webservers.

-Frank



Message has 1 Reply:
  Re: Server freakage today
 
(...) Although it is a common, accepted practice to notice that .../cad/dev is actually a directory, then redirect it to the proper URL. For example, under Apache mod_rewrite .../cad/dev is usually automatically rewritten (and redirected) to (...) (24 years ago, 13-Nov-00, to lugnet.admin.general)

Message is in Reply To:
  Re: Server freakage today
 
(...) Two or more slashes - well, I find it annoying that I have to type any slash at all! If I type "news.lugnet.com/cad/dev" I get the answer: Oops! The page you requested does not exist: (URL) However, a similarly named page does exist: (URL) is (...) (24 years ago, 13-Nov-00, to lugnet.admin.general)

10 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR