wollte mir im lan nen paar virtuelle hosts und einen externen einrichten:
wg.tpns
dev.tpns
tpns.dnydns.org
habe meine apache 2.0 config nach dokumentation aufgesetzt. habe nur die mindest direktiven genutzt.
CONFIG
- Code: Select all
NameVirtualHost *
<VirtualHost *>
ServerName dev.tpns
DocumentRoot /var/www/development
</VirtualHost>
<VirtualHost *>
ServerName wg.tpns
DocumentRoot /var/www/wg
</VirtualHost>
<VirtualHost *>
ServerName tpns.dyndns.org
DocumentRoot /var/www/extern
</VirtualHost>
mein problem ist dass wg.tpns und dev.tpns immer auf den documentroot ,den ich vorher mal als allgemein konfiguriert habe, zugreift. kann nur keine documentroot direktive in den conf's finden außer in der virtualhost konfiguration
hat einer ne idee?
gruß t0m