Subject:
|
Re: Server freakage today
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Mon, 13 Nov 2000 23:34:39 GMT
|
Viewed:
|
643 times
|
| |
| |
Frank Buiting wrote:
> 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.
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 .../cad/dev/.
The fact that LUGNET doesn't do this leads me to believe that it's using
some sort of ScriptAlias to rewrite the URL to a CGI script or somesuch.
But I'm just guessing about the LUGNET setup. :)
Chris
|
|
Message has 1 Reply: | | Re: Server freakage today
|
| (...) True, but that is mainly because if no 'dev' file exists the webserver assumes you meant 'dev/'. It's similar to that when you're typing www.abcd.com[1] it is assumed you mean (URL) even though ftp://www.abcd.com/ would be a correct URL too (...) (24 years ago, 14-Nov-00, to lugnet.admin.general)
|
Message is in Reply To:
| | Re: Server freakage today
|
| "Lars C. Hassing" <lch@ccieurope.com> wrote in message news:974106662.77473....cci.dk... (...) [snip] (...) slash at all! (...) It's a convention. .../cad/dev points to a file and .../cad/dev/ points to a directory. If directory browsing is not (...) (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
|
|
|
|