Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by domm (Chaplain)
on Mar 14, 2003 at 16:19 UTC ( [id://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$_.$/}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://243097]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-29 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found