in reply to Passing variable from httpd.conf via Apache2::Request or Mason

You want PerlSetVar.
  • Comment on Re: Passing variable from httpd.conf via Apache2::Request or Mason

Replies are listed 'Best First'.
Re^2: Passing variable from httpd.conf via Apache2::Request or Mason
by monarch (Priest) on Apr 26, 2006 at 04:16 UTC
    Thankyou for this; on closer inspection I can see that PerlSetVar can be used locally to a <Directory>, <Files>, or even a <VirtualHost> directive. Perfect, it gives me the localisation I need! I can retrieve the value using $r->dir_config('somekey').