title: Is it possible to set a session var from apache?
body: <p>is it possible to set a session var from apache?</p>
  
  <p>i mean i have </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerName www.domain.com
  ServerAlias www.domain.com
  DocumentRoot /var/www/domain/
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>pointing to the main site and then i would like for the users who open a sub domain like 
  en.domain.com, to load the language file EN and so on..</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerName en.domain.com
  ServerAlias en.domain.com
  DocumentRoot /var/www/domain/ [????]
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>how can I pass any var from this config file?
  or how can i set it? other solutions? thanks!</p>