|
|
Choosing A Webhost: |
Re: request hook ordering: msg#00183apache.mod-perl.devel
----- Original Message ----- From: "Stas Bekman" <stas@xxxxxxxxxx> To: "Geoffrey Young" <geoff@xxxxxxxxxxxxxxxxxxx> > Geoffrey Young wrote: > > I've brought it up before, but it looks like users are having real problems > > with the way 2.0 hooks modules into the request phases. > > > > in 1.0, module order was determined by compile-time ordering or > > LoadModule/ClearModuleList/AddModule, neither of which exist in 2.0, where > > Apache chose the HOOK_FIRST/HOOK_MIDDLE/HOOK_LAST approach. > > > > the issue is that for mod_perl to be effective, it really needs to get first > > crack at the phases. for instance, currently a PerlTransHandler wouldn't be > > guaranteed to run at all if another module (say, mod_proxy) got there first. > > while there are some occasions where you might want mod_proxy there first, > > they are typically rare in mod_perl applications. > > Maybe I'm missing something, but it doesn't seem like such a problem. If I make my own module DSO in C and I add the hook when the module loads (LoadModule) for TransHandler, and I'm using compiled-in mod_proxy, I'll have the same issue. Frankly, even if they're both compiled in, I potentially have the same issue... And I'm sure that the httpd-dev people have thought of this. Just my $0.02... Issac
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: request hook ordering, Geoffrey Young |
|---|---|
| Next by Date: | Re: request hook ordering, Stas Bekman |
| Previous by Thread: | Re: request hook ordering, Geoffrey Young |
| Next by Thread: | Re: request hook ordering, Geoffrey Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |