Subdomain Match?
Posted: 2003-02-28 14:34
Hallo!
Ich wollte mal fragen, ob es möglich ist, eine Art Virtualhost-Match für alles was vor domain.tld steht einzurichten, so dass ich nicht jede einzelne Subdomain explizit in die httpd.conf eintragen muss.
Also so in der Art:
<VirtualHost 123.456.789.0>
DocumentRoot /usr/local/htdocs/domain.tld/sub
ServerName *.domain.tld
</VirtualHost>
Vielen Dank,
Alex
Ich wollte mal fragen, ob es möglich ist, eine Art Virtualhost-Match für alles was vor domain.tld steht einzurichten, so dass ich nicht jede einzelne Subdomain explizit in die httpd.conf eintragen muss.
Also so in der Art:
<VirtualHost 123.456.789.0>
DocumentRoot /usr/local/htdocs/domain.tld/sub
ServerName *.domain.tld
</VirtualHost>
Vielen Dank,
Alex