lighttpd vhost errors

Hi,
I´ve setted on my lighttpd.conf:

$HTTP["host"] =~ "www\.dominiolegal.com.br"{
server.document-root = "/home/ama/public_html"
}

$HTTP["host"] =~ "www\.jinteressant.com"{
server.document-root = "/home/judb/public_html"
}

but, when I access www.jinteressant.com, lighttpd redirects to www.dominiolegal.com.br.

Any idea, how to fix that?

 

 

 

 

Top