<VirtualHost *:80>
	ServerName local.smile-vision.net
	ServerAlias local.www.smile-vision.net

	ServerAdmin mail@ssalnikov.com

	DocumentRoot /var/www/html/www/web

	php_admin_value YII_DEBUG "true"
	php_admin_value YII_ENV "dev"

	<Directory "/var/www/html/www/web">
		Options FollowSymLinks Includes
		AllowOverride All
		Require all granted

	</Directory>

	CustomLog /var/www/log//access.log combined
	ErrorLog /var/www/log/error.log
</VirtualHost>


<VirtualHost *:80>
	ServerName local.customer.smile-vision.net

	ServerAdmin mail@ssalnikov.com

	DocumentRoot /var/www/html/customer/web

	php_admin_value YII_DEBUG "true"
	php_admin_value YII_ENV "dev"

	<Directory "/var/www/html/customer/web">
		Options FollowSymLinks Includes
		AllowOverride All
		Require all granted

#    # use mod_rewrite for pretty URL support
#    RewriteEngine on
#    # If a directory or a file exists, use the request directly
#    RewriteCond %{REQUEST_FILENAME} !-f
#    RewriteCond %{REQUEST_FILENAME} !-d
#    # Otherwise forward the request to index.php
#    RewriteRule . index.php

	</Directory>


	CustomLog /var/www/log//access.log combined
	ErrorLog /var/www/log/error.log
</VirtualHost>


<VirtualHost *:80>
	ServerName local.admin.smile-vision.net

	ServerAdmin mail@ssalnikov.com

	DocumentRoot /var/www/html/admin/web

	php_admin_value YII_DEBUG "true"
	php_admin_value YII_ENV "dev"

	<Directory "/var/www/html/admin/web">
		Options FollowSymLinks Includes
		AllowOverride All
		Require all granted

#    # use mod_rewrite for pretty URL support
#    RewriteEngine on
#    # If a directory or a file exists, use the request directly
#    RewriteCond %{REQUEST_FILENAME} !-f
#    RewriteCond %{REQUEST_FILENAME} !-d
#    # Otherwise forward the request to index.php
#    RewriteRule . index.php

	</Directory>


	CustomLog /var/www/log//access.log combined
	ErrorLog /var/www/log/error.log
</VirtualHost>

