perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <>
Subject RE: changing $req_rec
Date Thu, 23 Jun 2005 03:50:45 GMT

> If it's any help I tried writing a subclass of and 
> overriding the handler() method and putting in a call to 
> Apache::Request->instance, but it just segfaulted...
> I then tried writing a handler that simply created the 
> Apache::Request->instance and then called 
> Embperl::handler($req_instance);
> And this did the same thing...
> Anyway, here's the documentation:-
> Any help you can give would be great.

I took a look at it and it is not so quite easy, because this instance
changes the way the request record looks from the C side. I try to get it in
Embperl in the next release, until then you can write into your httpd.conf

Embperl_Top_Include "$req_rec = Apache::Request->instance($req_rec);"

This will put this in front of every page


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message