httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <>
Subject Re: mod_mmap_static
Date Thu, 09 Sep 1999 22:15:24 GMT
Sorry Ben.

Thought of those..but the core module is defined as HOOK_REALLY_LAST.  I did
try setting the value of the hook to 31 (HOOK_REALLY_LAST is 30) but it
didn't get called - guess the max is 30?

Setting it to anything else results in the translator being called with no
filename so it dies and returns a 404.  What's needed for the module is a
way of getting the filename before the stat has been called, so it saves the
stat call and uses it's stored value.  Exactly where that point is I'll
leave to you to figure out :-)

----- Original Message -----
From: Ben Laurie <>
To: <>
Sent: 09 September 1999 23:04
Subject: Re: mod_mmap_static

> Dean Gaudet wrote:
> >
> > just to add to this -- i'm pretty sure that mod_mmap_static wants
> > phase after the filename has been selected... and it may already be
> > possible to do this with ben's topological sorting, but i haven't looked
> > at it.  i think it's similar to some problems which mod_rewrite has.
> > too busy to think it through again, hoping someone else will :)
> Oh boy. Back to me again, eh? Well, you could use topological sort to
> ensure that mod_mmap_static ran after the modules of your choice. Or you
> could just ask for it to run last. Would either of those do the trick?
> Cheers,
> Ben.
> --
> "My grandfather once told me that there are two kinds of people: those
> who work and those who take the credit. He told me to try to be in the
> first group; there was less competition there."
>      - Indira Gandhi

View raw message