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 / 8317
8316  |  8318
Subject: 
Re: Server freakage today
Newsgroups: 
lugnet.admin.general
Followup-To: 
lugnet.off-topic.geek
Date: 
Tue, 14 Nov 2000 08:42:21 GMT
Viewed: 
879 times
  
In lugnet.admin.general, Christopher Lindsey writes:
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/.

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 http://www.abcd.com/ even though
ftp://www.abcd.com/ would be a correct URL too but pointing to a different
resource.
Anyway, you are correct that it's common practice, but the LUGNET URLs
follow the guidelines.

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.

I think so too (perhaps Perl instead of CGI).

But I'm just guessing about the LUGNET setup.  :)

me too :-)

-Frank

followups to ot.geek

[1] Just a dummy URL ...



Message has 1 Reply:
  Re: Server freakage today
 
(...) i.e. Todd is being pedantic. But that's okay. :) (24 years ago, 14-Nov-00, to lugnet.off-topic.geek)

Message is in Reply To:
  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)

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