Mike521 - 8:04 pm on Dec 7, 2012 (gmt 0)
htaccess is definitely enabled and mod_setenvif must work also, because the new variable is successfully created with SetEnvIfNoCase
I'm not sure where they're located in reference to each other, or which runs first though. I imagine they are in the same directory structure.
I might have said vhost executes second, which would explain why the SetEnvIfNoCase attempt to modify the variable in .htaccess fails. But the SetEnv in .htaccess succeeds in modifying the variable, which implies .htaccess runs after vhost.