i don't think it is supposed to work this way according to the
apache documentation.  if you want the most specific (longest) one
to take precedence, put it before the shorter one in the config file.

the relevant documenation is here:
http://httpd.apache.org/docs/sections.html

YAMAMOTO Kengo wrote:

> I think that per directory PerlSetEnv variable should be
> overridden by the value that in the most specific(longest)
> <Directory> section.
>
> http://localhost/cgi-bin/subdir/printenv with following config
> will generate VAR="/usr/local/apache/cgi-bin/subdir", but
> generated result is VAR="/usr/local/apache/cgi-bin".
>
>   <Directory /usr/local/apache/cgi-bin>
>     PerlSetEnv VAR /usr/local/apache/cgi-bin
>   </Directory>
>
>   <Directory /usr/local/apache/cgi-bin/subdir>
>     PerlSetEnv VAR /usr/local/apache/cgi-bin/subdir
>   </Directory>
>

--
___cliff [EMAIL PROTECTED]http://www.genwax.com/


Reply via email to