[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubleshooting Apache2 Segfaults


On 1/24/07, Joel Gwynn <suppressed> wrote:
My understanding is that PerlSetVar is not a per-request directive.
What am I missing?

You mean dir_config?  It's not per-request, but I'm guessing that $r
in your code is an Apache2::RequestRec object, which is per-request.
You have to call dir_config on an Apache2::RequestRec object because
it contains the specifics of which config section you are actually in
right now, and you can't keep that $r between requests.  You need to
get a new one every time.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.