hosts:
Kod
ip test.dev
Oczywiscie zamiast ip jest podane pradziwe IP.
test.dev.conf
Kod
<VirtualHost *:80>
ServerAdmin webmaster@localhost.pl
ServerName test.dev
ServerAlias www.test.dev
DocumentRoot /var/www/public_html/test.dev/public/
<Directory /var/www/public_html/test.dev/public/>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
ServerAdmin webmaster@localhost.pl
ServerName test.dev
ServerAlias www.test.dev
DocumentRoot /var/www/public_html/test.dev/public/
<Directory /var/www/public_html/test.dev/public/>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Co robie zle?