Incorrect read length, http and php

Matthew D. Fuller fullermd at over-yonder.net
Mon Oct 16 05:19:01 BST 2006


On Sat, Oct 14, 2006 at 09:01:34PM +0100 I heard the voice of
David Allouche, and lo! it spake thus:
> Aaron Bentley wrote:
> > I can kind of see how this might make sense if you're serving
> > multiple languages statically, and designing Apache to serve
> > documents, not files.  But personally, I'd write it so that it
> > stopped at the first unrecognized extension.

I still don't understand why it didn't trigger on all the REST of the
files that had almost-identical names (certainl identical in the
important characteristics here).  THAT kinda disturbs me...  it
suggests that I don't really grok why it's doing it, though it almost
seems like I do.

Setting a Type for .knit/.kndx is a good workaround pending a full
solution, though it does cut back a little on the utility of a dumb
server in some cases, if you need to sneak some config into it.


> The fact is there are Apache servers out there, set up by competent
> sysadmins,

Why, thank you   8-}


> The only way out I see is adding a level of indirection, make the
> knit file names be arbitrary and independent of the file id.

I somewhat dislike this; even in something intended to be black box,
there are advantages to being able to see by eye something related to
what's going on.  (Not that I necessarily have a better idea, but...)


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.




More information about the bazaar mailing list