- error.log
- [Wed Aug 01 15:37:19 2012] [notice] caught SIGTERM, shutting down
- PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
- [Wed Aug 01 15:37:20 2012] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch configured -- resuming normal operations
- [Wed Aug 01 15:37:23 2012] [error] [client 127.0.0.1] File does not exist: /home/user/sites/favicon.ico
- DUMP_VHOST
- root@user:/etc/apache2/sites-available# apache2 -t -D DUMP_VHOSTS
- VirtualHost configuration:
- wildcard NameVirtualHosts and _default_ servers:
- *:80 is a NameVirtualHost
- default server * (/etc/apache2/sites-enabled/mysite:1)
- port 80 namevhost * (/etc/apache2/sites-enabled/mysite:1)
- port 80 namevhost site.loc (/etc/apache2/sites-enabled/vhosts.conf:1)
- port 80 namevhost site2.loc (/etc/apache2/sites-enabled/vhosts.conf:7)
- Syntax OK
- /etc/apache2/sites-available/mysite (идет вместо default. default отключен)
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /home/user/sites
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- </Directory>
- <Directory /home/user/sites/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride All
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog /var/log/apache2/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride All
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
- /etc/apache2/sites-available/vhost.conf
- <VirtualHost *:80>
- ServerName site.loc
- ServerAlias www.site.loc
- DocumentRoot /home/user/sites/site1
- </VirtualHost>
- <VirtualHost *:80>
- ServerName site2.loc
- ServerAlias www.site2.loc
- DocumentRoot /home/user/sites/site2
- </VirtualHost>
- /etc/host
- 127.0.0.1 localhost site.loc
- 127.0.0.1 localhost site2.loc
- httpd.conf
- ServerName 127.0.0.1