Re: dangling links on www-maste (was: www-master move: things to do, new status)
On Thu, Jan 28, 2010 at 09:44:37PM +0100, Simon Paillard wrote:
> On Mon, Jan 25, 2010 at 12:47:36AM +0100, Simon Paillard wrote:
> > On Sat, Jan 23, 2010 at 01:18:55AM +0100, Simon Paillard wrote:
> > > - more in http://people.debian.org/~spaillard/missing-from-wolkenstein
> [..]
> > * 480 links from en-{gb|us}.html to en.html
> > => Don't know yet what generates them
>
> It's Makefile.common
>
> Actually, these links missing from wolkenstein are actually (714!) dangling
> links on klecker:
> http://www-master.debian.org/~spaillard/dangling-links-on-klecker
>
> Makefile.common
> [..]
> clean::
> rm -f *.$(LANGUAGE).html *~ *.forced
>
> I guess we could just modify it into if "$(LANGUAGE)" "en"
> rm -f *.$(LANGUAGE).html *.html *.en-us.html *.en-gb.html *~ *.forced
>
> But what is the point of providing such links ? Serving the en-gb page
> to en-gb clients which don't even accept en ?
>
> The log says:
>
> ----------------------------
> Revision 1.48
> date: 2001-10-30 19:26:06 +0100; author: treacy; state: Exp; lines: +2 -0;
> Add links for en-us and en-gb. Hopefully this will stop our problems with
> misconfigured browsers. If we decide we don't like this for some reason, we can
> easily undo it. Give it a week or two first, though.
>
> Note that we may experience problems with the mirrors until they update their
> apache configuration.
> ----------------------------
Tested, requesting en-us or en-gb only makes apache to serve en, as explained below:
http://httpd.apache.org/docs/current/content-negotiation.html#better
So I've removed this 10-years old compatibility tweak.
--
Simon Paillard
Reply to: