 | | Re: Stick in the mud...
|
|
(...) 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 (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Stick in the mud...
|
|
(...) What filesystem allows file bar and directory bar in the foo directory? The only way to utilize the above hypothetical URL's is to use mod-rewrite (or similar). You could easially disable slash-optional rewrite when a mod-rewrite rule is (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | 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 (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Stick in the mud...
|
|
(...) Yeah, I've been wondering this too. It's pretty longstanding practice in unix that "ls /usr" and "ls /usr/" are going to get me exactly the same thing. For that matter, "stat /usr" and "stat /usr/" both get me the same thing.... And I'm (...) (26 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 (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Member benefits... ?
|
|
(...) OK, good idea! For now I put category links on (URL) the password center thingie and to the new pages thingie (at the top) and in the body of the page also added a link to the announcement about pages. (There hasn't been an official (...) (26 years ago, 13-Jun-00, to lugnet.admin.general, lugnet.people)
|
| |
 | | Re: Stick in the mud...
|
|
(...) More specifically try to create a file and a directory with the same parent and same name. It doesn't work on any operating system I know of (ok I haven't tried it on a Mac). KL (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Stick in the mud...
|
|
(...) On servers where URLs map directly to filespecs, you can't have both /foo/bar and /foo/bar/ unless the underlying filesystem differentiates between the two. I'm not aware of any filesystems which simultaneously allow both /foo/bar and (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Stick in the mud...
|
|
(...) In this example, if /foo/bar doesn't exist the user should get what /foo/bar/ points to, one way or another. Not a page to help them get to it. Either redirect (current practice) or rewrite (possible option) /foo/bar to /foo/bar/. If you (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|
| |
 | | Re: Stick in the mud...
|
|
(...) I agree that this is ideal in cases where the user may have mis-typed the URL by hand (or had been given the wrong URL from, say, a print ad in a magazine, and they typed it in by hand). I'm not sure it's ideal for cases where someone (...) (26 years ago, 13-Jun-00, to lugnet.admin.general)
|