lighttpd virtual host config
Posted
by
muncherelli
on Server Fault
See other posts from Server Fault
or by muncherelli
Published on 2010-08-14T22:36:16Z
Indexed on
2011/01/15
0:55 UTC
Read the original article
Hit count: 588
Trying to get these two vhosts set up correctly. I have two sites on this domain that i'm hosting: www.example.com/example.com and test.example.com.
How do I get both of these to work in my vhost definitions?
I have:
$HTTP["host"] == "test.example.com" {
and
$HTTP["host"] =~ "(^|.)example.com$" { (I think this is for *.example.com)
It always goes to the second one, even if I am trying to go to test.example.com. I need to be able to host www.example.com/example.com and test.example.com
© Server Fault or respective owner