Hi, > > If it's any help I tried writing a subclass of Embperl.pm 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:- > http://search.cpan.org/~stas/libapreq-1.33/Request/Request.pm#instance > > 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 Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]