Spend some time in mod_example - each phase is invoked in order - if you waited until the handler phase, the server would do MUCH more work than it really needs to do.
Zeus Capricorn wrote: > Hi,folks. > i am new here . > > When i read the mod_file_cache.c in the apache source code,i found that > they use translate_name hook to set the match.But i want to know why > they do > not use handler hook to set the match and get it directly? it seems that > the > only thing translate_name hook do is to set the match and send it to the > next hook. > > Am i right? > > i need some advice. > > Thanks in advance. >
