I'm having a problem with my vhosts using regex. When I use the following code, I get a 404 not found:
$HTTP["host"] =~ "(^|\.)example\.com$" {
...
}
However, when I explicitly set it to the following, I can get to my site:
$HTTP["host"] == "example.com" {
...
}
Does anyone know why this is happening? The documentation is fairly sparse.