title: Apache httpd-vhost SetEnv variable not working in application environment
body: <p>In my application I am trying to set the env variabel in the httpd-vhost config instead of insde .htacces file. If I put the setEnv variabel inside the .htaccess variable it works fine but not handy to keep .htaccess sync with production. I've tried as can be seen in my screenshot to set it inside the httpd config. I've restarted apache to load the new configuration.</p>
  
  <p><a href="https://i.stack.imgur.com/LxBpx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LxBpx.png" alt="enter image description here"></a></p>
  
  <p>Any advice or tips are welcome and thanks in advance.</p>
  
  <p>When I set the setEnv variabel outside the  it seems to work?</p>