Здравствуйте.
Нашел следующую статью
http://habrahabr.ru/sandbox/38025/ (установка php apache mysql)
При выполнении следующей команды "sudo addvhosts test" создается папка test в /home/user/www-data/www/test Далее сайт доступен по адресу test.loc. Я подключил еще один жесткий диск и в файле /etc/apache2/conf.d/custom/vhosts изменил путь /home/user/www-data/www/ на /media/f0a3c90c-8235-4f4f-ab09-9b075ffb4cc4/www-data/www/ (f0a3c90c-8235-4f4f-ab09-9b075ffb4cc4 новый жесткий диск). При попытке перезапустить apache выводится следующая ошибка
macro 'VHost' multiply defined.\n\tdefined on line 1 of /etc/apache2/conf.d/custom/vhosts, redefined on line 1 of /etc/apache2/conf.d/custom/vhosts.save
apache2: Syntax error on line 227 of /etc/apache2/apache2.conf: Syntax error on line 34 of /etc/apache2/conf.d/custom/vhosts.save: use of macro 'VHost' defined on line 1 of /etc/apache2/conf.d/custom/vhosts.save\n\twith 5 arguments instead of 2
Action 'start' failed.
The Apache error log may have more information. [fail]
Подскажите, в чем проблема и как с ней разобраться?
Спасибо