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 / 6903
6902  |  6904
Subject: 
Re: Stick in the mud...
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 13 Jun 2000 18:45:06 GMT
Viewed: 
1240 times
  
In lugnet.admin.general, Kevin Loch writes:
[...]
It would be nice if the server would just output the intended page without
sending a moved permanently error, increasing network traffic and log size.
[...]

Do you mean that if a browser requested some page /foo/bar which didn't exist,
but a page /foo/bar/ existed, that it would be nice if the server output the
content of /foo/bar/ when it was requested to serve /foo/bar ?  If so, wouldn't
that require the server to rewrite (on the fly) all HREF= and SRC= attributes
of tags and any other extensions (including embedded JavaScript code) which
might use relative URLs, since /foo/bar is in the /foo/ directory and /foo/bar/
is in the /foo/bar/ directory?  And if so, could a server even do this with
100% certainty of getting it correct?  And how would crawlers/indexers most
likely deal with this duality of pages?

--Todd



Message has 3 Replies:
  Re: Stick in the mud...
 
(...) wouldn't (...) /foo/bar/ (...) Optionally yes. The admin could choose the least expensive mode to operate in, redirect or rewrite (probably redirect now that you mention it). KL (24 years ago, 13-Jun-00, to lugnet.admin.general)
  Re: Stick in the mud...
 
(...) Ah, that makes sense. Really, in order for the proposed ("/foo/bar" exactly equals "/foo/bar/") scheme to work, there needs to be _no_ default index.html file. Or rather, directory index files need to be special in some way. (Just like you'd (...) (24 years ago, 13-Jun-00, to lugnet.admin.general)
  Re: Stick in the mud...
 
(...) Isn't it possible for the server to generate a /foo/bar page when its requested, and see that /foo/bar/ exists, then auto-redirect the user to /foo/bar/, therefore evading this problem? -Tim (24 years ago, 13-Jun-00, to lugnet.admin.general)

Message is in Reply To:
  Re: Stick in the mud...
 
(...) I think trailing slashes should be optional by specification. Even if they are not optional in the spec, it is optional in the De Facto spec given the existing base of installed servers that handle it gracefully (to the end user). It would be (...) (24 years ago, 13-Jun-00, to lugnet.admin.general)

85 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