From owner-freebsd-doc Thu Jun 27 5:17:48 2002 Delivered-To: freebsd-doc@freebsd.org Received: from amsfep16-int.chello.nl (amsfep16-int.chello.nl [213.46.243.25]) by hub.freebsd.org (Postfix) with ESMTP id 35C3837B401 for ; Thu, 27 Jun 2002 05:17:33 -0700 (PDT) Received: from hibernate.cryolabs.net ([213.132.151.88]) by amsfep16-int.chello.nl (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with SMTP id <20020627121732.JJAX26256.amsfep16-int.chello.nl@hibernate.cryolabs.net> for ; Thu, 27 Jun 2002 14:17:32 +0200 Received: (qmail 11074 invoked from network); 27 Jun 2002 14:17:31 +0200 Received: from unknown (HELO ice.cryolabs.net) (192.168.196.1) by hibernate.cryolabs.net with SMTP; 27 Jun 2002 14:17:31 +0200 Received: from cocaine.cryolabs.net (cocaine.cryolabs.net [192.168.196.5]) by ice.cryolabs.net (Postfix) with ESMTP id 84A6537C; Thu, 27 Jun 2002 14:16:56 +0200 (CEST) Subject: Re: Document not found - http://www.freebsd.org/porters-handbook/index.html From: Wouter Van Hemel To: Nik Clayton Cc: Giorgos Keramidas , Aidan Saunders , freebsd-doc@FreeBSD.org In-Reply-To: <20020626221612.GC40479@canyon.nothing-going-on.org> References: <3D18F18D.9000104@ntlworld.com> <20020625222450.GA5186@hades.hell.gr> <20020626221612.GC40479@canyon.nothing-going-on.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 27 Jun 2002 14:17:51 +0200 Message-Id: <1025180271.260.70.camel@cocaine> Mime-Version: 1.0 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2002-06-27 at 00:16, Nik Clayton wrote: > On Wed, Jun 26, 2002 at 01:24:50AM +0300, Giorgos Keramidas wrote: > > On 2002-06-25 23:41 +0000, Aidan Saunders wrote: > > > http://www.freebsd.org/handbook/ports-trouble.html#PORTS-BROKEN > > > > Try starting at: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-trouble.html#PORTS-BROKEN > > > > BTW, this is a known problem, > > And it's really time we fixed it. The best idea I've come up with so > far is to have a .htaccess file in the root of the web server tree that > issues permanent redirects from /handbook/ and /FAQ/ to the appropriate > directory under /doc/... > > The symlinks can remain for the time being, but we should aim to nuke > those as well. > > Any thoughts? Perhaps someone can knock up a quick proof of concept? > With .htaccess, it would be something like: Redirect 301 /handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ (try http://www.rantakoski.com/handbook for just that) According to apache documentation 301 = perm, 302 = temp, 303 = seeother and 410 = gone (completely removed)... You could also use RedirectPermanent and drop the number - same result. You need mod_alias - which is enable on most servers, I guess. The problem is that the thing needs to be an full url, I _think_, which would make things harder for mirrors. And 'alias' is not allowed in .htaccess files. Having a simple index page with meta redirects in it, is another option. With meta-tags: redirection If you are not redirected automatically in 5 seconds, click here to proceed. ... but I guess you know these things. Fixing this will basically half the traffic to this list. :) wouter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message