Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How do you run mod_perl handlers after standard Apache handlers

by domm (Chaplain)
on Mar 14, 2003 at 16:19 UTC ( #243097=note: print w/replies, xml ) Need Help??


in reply to How do you run mod_perl handlers after standard Apache handlers

I do not really know anything about mod_usertrack, but maybe you can tell it to run at different phase it the request cycle. To do this, you'll need to modify the C source code of mod_usertrack.

At the end of mod_usertrack.c in (apache_1.3.xx/src/modules/standard) you'll find a large data structure. I do not know how much you know about mod_perl / Apache, but each entry in this list corresponds to one phase of the Request Cycle. You could try to move spot_cookie on line up, into the type_checker phase (be sure to replace it with NULL in the fixup phase). Recompile Apache. It might work, but I'm not sure...

Or take a look at Apache::Usertrack, but is rather old and unfinished...

And maybe somebody on the mod_perl mailing list knows better...

-- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
  • Comment on Re: How do you run mod_perl handlers after standard Apache handlers
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243097]
help
Chatterbox?
[oakbox]: Anyone else having difficulty looking at search.cpan.org?
[oakbox]: I keep getting a proxy error.
[marto]: try http://metacpan. org/

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-07-26 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (388 votes). Check out past polls.