in reply to PerlSetVar and PerlPostReadRequestHandler

That phase is too early. At that point, the request has not been resolved to a directory, so dir_config can't return anything. Make your code a PerlFixupHandler instead.
  • Comment on Re: PerlSetVar and PerlPostReadRequestHandler