Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-12-21 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls