<VirtualHost *:*> ServerAdmin somebody@some.net DocumentRoot /home/www/homepage/www ServerName "Alexey_Belenko Homepage" ErrorLog logs/dummy-host.example.com-error_log CustomLog logs/dummy-host.example.com-access_log common</VirtualHost>
ServerName "Alexey_Belenko Homepage"
NameVirtualHost *.........# # ============= VHost Directories ================# <Directory "/home/www/homepage/www"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all</Directory>## ============= Virtual Hosts ===============#<VirtualHost *:*> ServerAdmin adminz_e@mail DocumentRoot /home/www/homepage/www ServerName "Alexey_Belenko Homepage" ServerAlias "homepage" ErrorLog logs/homepage.error.log CustomLog logs/homepage.custom.log common</VirtualHost>
10.0.0.10 homepage 10.0.0.10 friend
Наскільки я знаю, ServerName повинно співпадати з тим що внесено у c:\winnt\system32\drivers\stc\hosts: 10.0.0.10 homepage 10.0.0.10 friend Добавте спочатку (named-based хост, замість ip-based): NameVirtualHost * затім:<VirtualHost *> ServerAdmin adminz_e@mail DocumentRoot /home/www/homepage/www ServerName "homepage" ServerAlias "homepage *.homepage" ErrorLog logs/homepage.error.log CustomLog logs/homepage.custom.log common</VirtualHost> <VirtualHost *> ServerAdmin adminz_e@mail DocumentRoot /home/www/friend/www ServerName "friend" ErrorLog logs/friend.error.log CustomLog logs/friend.custom.log common</VirtualHost> нехай мене поправлять, якщо я помиляюсь.
Test Page This page is used to test the proper operation of the Apache Web server after it has been installed. If you can read this page, it means that the Apache Web server installed at this site is working properly.
Це не складно. Помістіть test першим віртуальним хостом (вище за homepage та friend)