On Sun, Feb 07, 2010 at 11:53:02AM +0000, Eric Y. Kow wrote: > This is really not a handy URL for use in mailing lists and what not: > > http://code.haskell.org/darcs/darcs-benchmark/reports/bugs/3eb55dab-4072-40d5-84ec-3d6c6a586433.html
Agreed. > Something like > http://code.haskell.org/darcs/darcs-benchmark/reports/bugs/3eb.html This is not a permanent link, as eventual bug additions will push the truncated UUID to >3 chars. What you want are 301 redirections from the truncated IDs to the full IDs, but that is difficult (impossible?) to do in a server-agnostic way. I think `be html` should install a bugs/.htaccess file: Redirect permanent 3eb.html 3eb55dab-4072-40d5-84ec-3d6c6a586433.html ... Following http://httpd.apache.org/docs/2.2/mod/mod_alias.html#Redirect But I have no idea if non-Apache servers support Apache-style .htaccess files. A less elegant alternative would be 3eb.html: <html><head> <meta http-equiv="REFRESH" content="0;url=3eb55dab-4072-40d5-84ec-3d6c6a586433.html"> </head><body>Redirecting to permanent bug page.</body></html> If you're curious, see http://www.w3.org/QA/Tips/reback for a discussion of the difference between redirect/refresh. The shorter URLs aren't critical, so I'm leaning towards Apache-centrism on this one ;). -- This email may be signed or encrypted with GPG (http://www.gnupg.org). The GPG signature (if present) will be attached as 'signature.asc'. For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
pgptehZITVtuF.pgp
Description: PGP signature
_______________________________________________ Be-devel mailing list [email protected] http://void.printf.net/cgi-bin/mailman/listinfo/be-devel
