ich hab Suse 10 Installiert mit Apache 2 Modul php usw..
Das funktoniert auch soweit alles nun hab ich etwa 20 vhosts die folgendermaßen aufgebaut sind.
Code: Select all
<VirtualHost *>
ServerAdmin t.schubert@makrohaus.de
DirectoryIndex index.htm
DocumentRoot /home/vhosts/www.max-aicher.de
ServerName max-aicher.mh
LogFormat "%h %l %u %t "%r" %>s %b" common
ErrorLog /home/vhosts/www.max-aicher.de/logs/error_log
CustomLog /home/vhosts/www.max-aicher.de/logs/access_log common
</VirtualHost>
#-------------------------------------------------------------------------------
<VirtualHost *>
ServerAdmin t.schubert@makrohaus.de
DirectoryIndex index.htm
DocumentRoot /home/vhosts/www.oliwax.de
ServerName oliwax.mh
LogFormat "%h %l %u %t "%r" %>s %b" common
ErrorLog /home/vhosts/www.oliwax.de/logs/error_log
CustomLog /home/vhosts/www.oliwax.de/logs/access_log common
</VirtualHostzb oliwax.mh kommt immer der erste angeben vhost in diesem fall macht sich die max-aicher website auf.
nun wie kann ich das einstellen das er jeden einzelen vhost den ich angeben habe auch über den Servernamen aufrufen kann
zb im Internetexplorer : oliwax.mh DocumentRoot /home/vhosts/www.oliwax.de << jetzt soll er in dieses verzeichniss gehen wie eben auch angeben im vhost.
Wo muss ich das einstellen !?
danke