title: Lighttpd config: get value from key-value array
body: <p>I can define variables in lighttpd.conf like that:</p>
  
  <pre><code>myvar = "bar"
  foo = myvar ## OK, this works
  </code></pre>
  
  <p>I can also define key-value array:</p>
  
  <pre><code>myarr = ("foo" =&gt; "bar", "lol" =&gt; "rofl") ## Also OK
  </code></pre>
  
  <p>But how can I access a value by key in this array?</p>
  
  <pre><code>someval = myarr["foo"] ## No,
  someval = myarr("foo") ## No,
  someval = myarr.foo ## No, all these doesn't work.
  </code></pre>
  
  <p>I've googled a lot, but didn't find an answer. I found a lot of examples of <em>defining</em> arrays in lighttpd.conf, but no one example of <em>reading</em> a value by key from it. You are my last hope, guys.</p>