I was trying to configure hostonnet.test site on localhost. For that I added the below lines in etc/hosts file
127.0.0.1 hostonnet.test
and updated vhosts.conf with following
<VirtualHost 127.0.0.1:80> ServerName hostonnet.test DocumentRoot /home/tom/www/hostonnet <Directory "/home/tom/www/hostonnet"> Options All AllowOverride All Require all granted Order allow,deny allow from all </Directory> </VirtualHost>
Then I accessed hostonnet.test thorugh google chrome. But it was a blank page.
I installed composer
apt install composer
Then run the below from hostonnet folder
cd www/hostonnet composer install
Now hostonnet.test started to working