Такая же фигня, кстати.
Вот конфиг виртуального хоста - site1.tst.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName site1.tst
ServerAlias www.site1.tst
DocumentRoot /var/www/site1.tst
<Directory /var/www/site1.tst/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/www/site1.tst/logs/mysite-error.log
CustomLog /var/www/site1.tst/logs/mysite-access.log common
<Directory /var/www/site1.tst>
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Вот hosts:
127.0.0.1 localhost
127.0.0.1 site1.tstВсё благополучно включается и ребутится, без ошибок и прочего.
sudo a2ensite site1.tst
sudo service apache2 reloadlocalhost - открывается, не вопрос. А вот http://site1.tst - "белый лист".
Было дело, работало, правда пришлось шаманить прямо в 000-default.conf другие конфиги он просто на отрез отказывался цеплять. Но сейчас и это не помогает.
Я поисковик уже затеребонькал - решения так и не нашёл.
А вот, кстати, error.log апача. Но тут я буратино ( Может кто что разглядит?
[Fri Mar 06 18:10:37.955643 2015] [mpm_event:notice] [pid 16621:tid 140536985692032] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:10:37.955942 2015] [core:notice] [pid 16621:tid 140536985692032] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:18:00.812796 2015] [mpm_event:notice] [pid 16621:tid 140536985692032] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 18:18:01.894991 2015] [mpm_event:notice] [pid 17024:tid 140130977421184] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:18:01.895294 2015] [core:notice] [pid 17024:tid 140130977421184] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:19:09.971167 2015] [mpm_event:notice] [pid 17024:tid 140130977421184] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 18:19:11.050582 2015] [mpm_event:notice] [pid 17168:tid 140660313884544] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:19:11.050840 2015] [core:notice] [pid 17168:tid 140660313884544] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:47:58.003243 2015] [mpm_event:notice] [pid 17168:tid 140660313884544] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 18:48:01.631581 2015] [mpm_event:notice] [pid 18061:tid 139654897547136] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:48:01.631842 2015] [core:notice] [pid 18061:tid 139654897547136] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:48:06.414766 2015] [mpm_event:notice] [pid 18061:tid 139654897547136] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 18:48:07.499149 2015] [mpm_event:notice] [pid 18166:tid 140035166054272] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:48:07.499431 2015] [core:notice] [pid 18166:tid 140035166054272] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:52:05.140104 2015] [mpm_event:notice] [pid 18166:tid 140035166054272] AH00493: SIGUSR1 received. Doing graceful restart
[Fri Mar 06 18:52:05.149034 2015] [mpm_event:notice] [pid 18166:tid 140035166054272] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:52:05.149062 2015] [core:notice] [pid 18166:tid 140035166054272] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 18:54:20.926495 2015] [mpm_event:notice] [pid 18166:tid 140035166054272] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 18:54:22.007309 2015] [mpm_event:notice] [pid 18416:tid 140231594059648] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 18:54:22.007565 2015] [core:notice] [pid 18416:tid 140231594059648] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 19:00:13.722417 2015] [mpm_event:notice] [pid 18416:tid 140231594059648] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 19:00:14.807299 2015] [mpm_event:notice] [pid 18675:tid 140076723836800] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 19:00:14.807788 2015] [core:notice] [pid 18675:tid 140076723836800] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 19:04:39.705977 2015] [mpm_event:notice] [pid 18675:tid 140076723836800] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 19:04:40.786919 2015] [mpm_event:notice] [pid 18854:tid 139756413278080] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 19:04:40.787212 2015] [core:notice] [pid 18854:tid 139756413278080] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 19:05:00.414818 2015] [mpm_event:notice] [pid 18854:tid 139756413278080] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 19:05:01.498407 2015] [mpm_event:notice] [pid 18997:tid 139848667068288] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 19:05:01.498685 2015] [core:notice] [pid 18997:tid 139848667068288] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 19:06:08.973471 2015] [mpm_event:notice] [pid 18997:tid 139848667068288] AH00491: caught SIGTERM, shutting down
[Fri Mar 06 19:06:10.052877 2015] [mpm_event:notice] [pid 19131:tid 140069596641152] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 19:06:10.053167 2015] [core:notice] [pid 19131:tid 140069596641152] AH00094: Command line: '/usr/sbin/apache2'
[Fri Mar 06 19:06:29.585450 2015] [mpm_event:notice] [pid 19131:tid 140069596641152] AH00493: SIGUSR1 received. Doing graceful restart
[Fri Mar 06 19:06:29.594946 2015] [mpm_event:notice] [pid 19131:tid 140069596641152] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Fri Mar 06 19:06:29.594983 2015] [core:notice] [pid 19131:tid 140069596641152] AH00094: Command line: '/usr/sbin/apache2'