Oct 12, 2015
0
Level 9
Vagrant virtualhost only shows root folder
I have followed the "Get off mamp" tutorial.
https://laracasts.com/lessons/get-off-mamp-now
I have 2 sites in the sites-available folder
000-default.conf new.conf
and have setup my hosts file but when I navigate to new local I still see the root folder
<VirtualHost *:80>
ServerName new.local
ServerAdmin webmaster@localhost
DocumentRoot /var/www/new
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/newt>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
The site is enabled is there any reason it would default to the root folder like this ?
Please or to participate in this conversation.