httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: mod_cvs in apache 2.0, apr questions
Date Thu, 25 Jan 2001 14:56:47 GMT
Ben,

  subrequests are all passed through the same set of hooks as the primary
request.  So, where a module is well designed to invoke itself through the
subrequests, you are in business.

  For example, see mod_autoindex (a place where you might want to report
the very latest date from cvs, rather than the current file's date.)  It
runs every filename through the subrequest mechanism.  You will find very
similar logic scattered throughout the server.  SSI Includes is another
good example.

  The problem I see in what you want to do to apr_open is very dicey.  You
are 'injecting' yourself into the platform-dependent mechanics, which is
definately -not- where you want to be, and consuming far more cpu than you
probably need.

  Good luck!

Bill


Mime
View raw message