webdirs mit lighty und mod_evhost
Posted: 2007-09-16 13:48
Hallo,
Ich nutze mod_evhost, um virtuelle Hosts zu realisieren. Ich möchte gerne, dass
http://subdomain.domain.tld
auf das Verzeichnis
path/to/subdomain_html
und
http://webdir.subdomain.domain.tld
auf das Verzeichnis
path/to/subdomain _data
zeigt. Mein Versuch sieht bisher so aus:
Das klappt aber nicht, da er immer die zweite Regel anwendet. Was mache ich falsch?
Gruß,
Maik
Ich nutze mod_evhost, um virtuelle Hosts zu realisieren. Ich möchte gerne, dass
http://subdomain.domain.tld
auf das Verzeichnis
path/to/subdomain_html
und
http://webdir.subdomain.domain.tld
auf das Verzeichnis
path/to/subdomain _data
zeigt. Mein Versuch sieht bisher so aus:
Code: Select all
$HTTP["host"] =~ "webdir" {
evhost.path-pattern = "/path/to/%3_data"
}
$HTTP["host"] =~ ".domain.tld" {
evhost.path-pattern = "/path/to/%3_html/"
}Gruß,
Maik