Krystian 17 Zgłoś post Napisano Marzec 27, 2008 Mam mały problem z vhostami Gdy dodaje więcej niż jedna domenę (np. w webminie) wszystkie wskazuja na jeden katalog root:~# /etc/init.d/apache2 force-reloadForcing reload of web server (apache2)...[Thu Mar 27 19:01:36 2008] [warn] VirtualHost 91.121.xx.xxx:80 overlaps with VirtualHost 91.121.xx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive waiting [Thu Mar 27 19:01:38 2008] [warn] VirtualHost 91.121.xx.xxx:80 overlaps with VirtualHost 91.121.xx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive . <VirtualHost 91.121.xx.xxx:80>ServerName domena1.pl ServerAlias www.domena1.pl DocumentRoot /home/user1/public_html/domena1.pl ErrorLog /home/logi/domena1.pl-error_log CustomLog /home/logi/domena1.pl-access_log common </VirtualHost> <VirtualHost 91.121.xx.xxx:80> ServerName domena2.pl ServerAlias www.domena2.pl DocumentRoot /home/user2/public_html/domena2.pl ErrorLog /home/logi/domena2.pl-error_log CustomLog /home/logi/domena2.pl-access_log common </VirtualHost> Gdzie jest bład? Dzieki za pomoc Udostępnij ten post Link to postu Udostępnij na innych stronach