Date: 05 Mar 2001 14:16:35 +0100 From: Rasmus Kaj <kaj@raditex.se> To: Nik Clayton <nik@FreeBSD.ORG> Cc: Rasmus Kaj <kaj@raditex.se> Subject: Re: cvs commit: www/en Makefile Message-ID: <84snks5pak.fsf@frodo.sickla.raditex.se> In-Reply-To: Nik Clayton's message of "Sun, 4 Mar 2001 10:56:18 %2B0000" References: <200102241031.f1OAVTZ82598@freefall.freebsd.org> <20010225064044.A68105@canyon.nothing-going-on.org> <20010227122027.A2079@paula.panke.de.freebsd.org> <20010227121401.A2631@canyon.nothing-going-on.org> <20010228224508.A2745@paula.panke.de.freebsd.org> <20010228233653.A1692@canyon.nothing-going-on.org> <20010303173639.B25057@matrix.42.org> <20010304105618.A300@canyon.nothing-going-on.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "NC" == Nik Clayton <nik@FreeBSD.ORG> writes: [ in a deiscussion of wether symlinks in web is inherently bad ] >> If you really must do it, put rules in the webserver config to disallow >> acces to all the alternate paths except one. NC> We can't do that. The whole point is to put *all* the documentation NC> somewhere central, whilst maintaining support for legacy URLs like NC> /handbook/ and /FAQ/. I think we can do this in one of three ways: NC> 1. Use Alias or similar in the webserver config file. NC> 2. Install the same content multiple times in the web tree. NC> 3. Use symlinks. There is one more way: 4. Configure the web server to redirect (response codes 3xx). I'll walk through your pros and cons of 1 - 3 and see which applies to 4: Pro: Uses wery little disk space (like 1, and 3). Pro: Works well with spiders and old links (like 1, 2, and 3). Con: Means that our mirrors have to know what our web server config file looks like (like 1). Con: Means that if you try to test the website locally you need to be running a webserver in order to check everything (like 1), well, I personally don't really consider this a con. Pro: Very simple to do. NC> The only thing we absolutely *must* do is make sure that existing URLs NC> continue to work. Agreed, but there should only be one "correct" URL for each page, (except the foo/ foo/index.html duplicate) other URLs should redirect to that. -- Rasmus Kaj ------------------------ rasmus@kaj.se - http://Raditex.se/~kaj/ \ Machines should work. People should think. -IBM \----------------------------------------------------- http://Raditex.se/ 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?84snks5pak.fsf>