Добрый день, Всем!
Не работает. :(
При попыке зайти на noc.test, показывает данные из usr/local/www/test.
[http.conf]
NameVirtualHost 10.0.0.14
<VirtualHost 10.0.0.14 >
ServerAdmin noc@test
DocumentRoot "/usr/local/www/noc/st"
ServerName noc.test
ErrorLog logs/noc-error_log
CustomLog logs/noc-access_log common
</VirtualHost>
<VirtualHost 10.0.0.14 >
ServerAdmin webmaster@test
DocumentRoot "/usr/local/www/test"
ServerName www.test
ErrorLog logs/test-error_log
CustomLog logs/test-access_log common
</VirtualHost>
[http.conf]
su-2.05a# httpd -S
VirtualHost configuration:
10.0.0.14:80 is a NameVirtualHost
default server noc.test
(/usr/local/apache/conf/httpd.conf:1000)
port 80 namevhost noc.test
(/usr/local/apache/conf/httpd.conf:1000)
port 80 namevhost www.test
(/usr/local/apache/conf/httpd.conf:1009)
Что не так?
--
Regards,
Roman D.
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =