Re: accelerator problem when redirecting directory to file

From: Stefan Monnier <monnier+lists/squid/news/>
Date: 06 Nov 1997 10:52:12 -0500

Sue <> writes:
> redirector script adds the default page. The problem is that when the
> directory name is entered without a slash, the browser does not
> correctly create relative links, it completely misses the directory
> name. If the directory name is entered with the final slash then all
> links work as normal.
> Is there anyway to get around this problem?

Yes, directory names without a slash are bogus. So, you have to tell the
browser that the URL is bogus and more specifically, you have to tell him how
to fix it. This is done with a permanent redirect from the non-slashed-dirname
to the slashed-dirname. This is how web servers work. Many people have no idea
that "save one keystroke" actually forces a two step download with potentially
two connections, but that's the way it works.

Received on Thu Nov 06 1997 - 07:54:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:27 MST