Date: 27 Jun 2002 14:17:51 +0200 From: Wouter Van Hemel <wouter@pair.com> To: Nik Clayton <nik@freebsd.org> Cc: Giorgos Keramidas <keramida@FreeBSD.org>, Aidan Saunders <aydun@ntlworld.com>, freebsd-doc@FreeBSD.org Subject: Re: Document not found - http://www.freebsd.org/porters-handbook/index.html Message-ID: <1025180271.260.70.camel@cocaine> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <html> <head> <meta http-equiv="refresh" content="5;url=http://www.freebsd.org/doc/etcetc/"> <title>redirection</title> </head> <body> If you are not redirected automatically in 5 seconds, click <a href="/doc/etc">here</a> to proceed. </body> </html> ... 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1025180271.260.70.camel>