Конкретнее проблема с apache
:~$ sudo /etc/init.d/apache2 restartapache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/macro.load: No such file or directoryAction 'configtest' failed.The Apache error log may have more information. ...fail!
Как решить проблему?
p.s.201 строка Include mods-enabled/*.load
sudo ls /etc/apache2/mods-enabled alias.conf autoindex.conf macro.load reqtimeout.loadalias.load autoindex.load mime.conf setenvif.confauth_basic.load cgi.load mime.load setenvif.loadauthn_file.load deflate.conf negotiation.conf status.confauthz_default.load deflate.load negotiation.load status.loadauthz_groupfile.load dir.conf php5.confauthz_host.load dir.load php5.loadauthz_user.load env.load reqtimeout.conf$ ls -l /etc/apache2/mods-enabled/итого 0... lrwxrwxrwx 1 root root 28 мая 7 18:16 macro.load -> ../mods-available/macro.load (красная подсветка)...
после ввода
sudo rm /etc/apache2/mods-enabled/macro.load
красная подсветка предыдущего результата убраласьно появилась другая ошибка
~$ sudo /etc/init.d/apache2 restartSyntax error on line 1 of /etc/apache2/conf.d/custom/vhosts:Invalid command '<Macro', perhaps misspelled or defined by a module not included in the server configurationAction 'configtest' failed.The Apache error log may have more information. ...fail!
файл /etc/apache2/conf.d/custom/vhosts
<Macro VHost $host $path> <VirtualHost *:80> DocumentRoot "$path" ServerAdmin vanya@localhost ServerName $host ServerAlias www.$host DirectoryIndex index.php index.html index.htm index.shtml <Directory "$path"> Options FollowSymLinks Options all AllowOverride All </Directory> </VirtualHost></Macro>Use VHost test.loc /home/www-data/www/test