On Wed, Feb 10, 2010 at 07:24:41AM -0500, W. Trevor King wrote:
> On Wed, Feb 10, 2010 at 09:30:32AM +0100, Gianluca Montecchi wrote:
> > On Tue, Feb 09, 2010 at 08:29:51PM -0500, W. Trevor King wrote:
> > > On Sun, Feb 07, 2010 at 11:53:02AM +0000, Eric Y. Kow wrote:
> > > 
> > > This is not a permanent link, as eventual bug additions will push the
> > > truncated UUID to >3 chars.
> > 
> > I don't understand this one.  Why a bug addition must push a
> > truncated UUID to >3 char ?  The file name is the full bug id, so i
> > think that basically I just need to create the filename using just
> > the first 6 char (just to be sure) of bug id.
> 
> The filename is currently the full bug ID:
>   3eb55dab-4072-40d5-84ec-3d6c6a586433
> "3eb" is an abbreviation (minimum 3 characters) that still uniquely
> identifies a bug in the bugdir.  As you add more bugs, there is some
> chance that one of the new ones shares the first three ID chars "3eb",
> which will force both abbreviation up to "3eb5".  For example, the BE
> directory has "0ca2..." and "0cad..."

Ok, so I can go for the variable leght file name. 
It not seems to be too difficult :-)

 
> > > 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.
> > > 
> > > The shorter URLs aren't critical, so I'm leaning towards
> > > Apache-centrism on this one ;).
> > 
> > I am not sure that using some hack on the server side is a good idea, since 
> > you should take care of too much variables.
> 
> Mod-rewrite isn't a hack ;).  This is what it's for.

I know. ;-)

The problem I see with mod_rewrite is that different server have different
syntax (ie. apache and lighttpd).

bye
Gianluca




_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Reply via email to