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 / 8759
8758  |  8760
Subject: 
Re: Stick in the mud...
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 30 Jan 2001 14:40:38 GMT
Viewed: 
1344 times
  
Thanks for fixing this, Todd. One annoyance in Internet Explorer is that the
history captured in the Address text box does not keep the trailing slash.
So, even if I typed the slash by hand once, if I use the down-arrow to save
typing and go to the address I typed before, the trailing slash would not be
included and I would go to the re-direct page.

Now, with your silent redirect, you work around this IE bug, and all is
right with the world.

Cary

"Todd Lehman" <lehman@javanet.com> wrote in message
news:G7yq4B.1Dz@lugnet.com...
In lugnet.admin.general, Todd Lehman writes:
In lugnet.admin.general, Mike Stanley writes:
[...]
Call me lazy, won't bother me - /castle should work. • www.hbo.com/sopranos
works.  I guess the system administrator at hbo.com is more tolerant of
"lazy" users.  Or maybe more interested in having his system fulfill • its
purpose than in being 100% technically correct when it comes to URLs?

It's not that, Mike, it's that /castle is actually a valid URL of a • valid
webpage (it just happens to be empty).  When I view that, it shows me a
button which says "Start This Page" and I could click that and type in
content onto that page if I needed to.  However, since /castle/ already
exists, it's confusing.

An unrelated example:  Check out the page

  http://www.lugnet.com/spotlight

That's a page named 'spotlight' situated off the root of the site.  It • used
to be called

  http://www.lugnet.com/?p=spotlight

but no longer needs the '?p=' junk.  Since there is no page or directory
/spotlight/ it's not particularly confusing as is the case with /castle • .

I agree that it would be most helpful if the /castle page helped people • find
the /castle/ directory, and I intend to "fix" this.

OK, it's now fixed.  It wasn't as easy as I'd hoped, but what I kluged up • is
plenty safe.

Now, if you now type in the URL without the trailing slash:

   http://news.lugnet.com/castle

it will silently auto-forward you to the correct URL:

   http://news.lugnet.com/castle/

That's for if you type it in wrong by hand.  If you've got a link • somewhere
that does it wrong, you still get the error message.

Similarly, if you type in the URL of a member page by hand without the
trailing slash, for example:

   http://www.lugnet.com/~1/DinoTron

then, seeing that page doesn't exist and that a page with a trailing slash
does exists, it will silently auto-forward to the correct URL:

   http://www.lugnet.com/~1/DinoTron/

And again, that's only if you type it in wrong (without the slash) by • hand;
if you're following a bad link, you'll still get the error message and • you'll
have to click through manually.

--Todd

p.s.  Note:  If you click the trailing-slashless URLs contained in this
message, you may or may not get the error page depending on how your • browser
caches pages and how it sends the HTTP_REFERER.  That is, if you happen to
type in the bad URL by hand, your browser may "cache" the fact that it • auto-
forwards to the good URL, causing it to bypass the error page later if you
click the bad URL contained in a link.  If that's confusing, never mind.



Message has 2 Replies:
  LUGNET Password?
 
Todd & All, I was looking into doing some things that LUGNET had to offe,r but I can't seem to remember how to get / change my password to LUGNET. I am a member, so what do I need to do? Any help is greatly appreciated! :) Scott #227! S. -- (...) (24 years ago, 30-Jan-01, to lugnet.admin.general)
  Re: Stick in the mud...
 
(...) I wonder if this was the IE trailing-/ issue that ++Lar was referring to last week. (...) It's too bad it was there in the first place, but I'm glad to hear it's no longer an issue for you. --Todd (24 years ago, 31-Jan-01, to lugnet.admin.general)

Message is in Reply To:
  Re: Stick in the mud...
 
(...) OK, it's now fixed. It wasn't as easy as I'd hoped, but what I kluged up is plenty safe. Now, if you now type in the URL without the trailing slash: (URL) will silently auto-forward you to the correct URL: (URL) for if you type it in wrong by (...) (24 years ago, 30-Jan-01, 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