View Single Post

  #2 (permalink)  
Old 03-15-2007, 04:53 PM
oscar oscar is offline
Junior Member
 
Join Date: Mar 2007
Posts: 4
Rep Power: 0
oscar
Default

Aah, this seems to work pretty nice for domain/subdomain handling using evhost, but there's still the part with the log files.. Any ideas?

Code:
$HTTP["host"] =~ "^(www\.)?[^.]+\.[^.]+$" {
  evhost.path-pattern = "/home/%0/www/"
}

$HTTP["host"] !~ "^(www\.)?[^.]+\.[^.]+$" {
  evhost.path-pattern = "/home/%0/subdomains/%3/"
}
Reply With Quote