Virtual Hosts Apache Blank page Ubuntu
<p>I am trying to set up an existing <em>laravel 5.1</em> project with a virtual host on an ubuntu apache server, I have configured the vhosts file accordingly and have done the following commands </p>

<pre><code>sudo chown -R $USER:$USER /var/www/example.dev/public
sudo chmod -R 755 /var/www
</code></pre>

<p>to give permissions to the my folder directories. When I go to my URL (e.g <code>example.dev</code>)</p>

<p>Every time I try load the server I get a blank page. After looking at the error.log in the apache2 log files I see this </p>

<p><code>[Mon Jan 04 20:24:09.072782 2016] [:error] [pid 6002] [client 127.0.0.1:51627] PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'The stream or file "/var/www/example.dev/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied' in /var/www/example.dev/bootstrap/cache/compiled.php:13350\nStack trace:\n#0 /var/www/example.dev/bootstrap/cache/compiled.php(13288): Monolog\\Handler\\StreamHandler-&gt;write(Array)\n#1 /var/www/example.dev/bootstrap/cache/compiled.php(13051): Monolog\\Handler\\AbstractProcessingHandler-&gt;handle(Array)\n#2 /var/www/example.dev/bootstrap/cache/compiled.php(13147): Monolog\\Logger-&gt;addRecord(400, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#3 /var/www/example.dev/bootstrap/cache/compiled.php(12864): Monolog\\Logger-&gt;error(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#4 /var/www/example.dev/bootstrap/cache/compiled.php(12835): Illuminate\\Log\\Writer-&gt;writeLog('error', Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException), Array)\n#5 /var/www/example.dev/vendor/laravel/framework/src/Illuminate/Foun in /var/www/example.dev/bootstrap/cache/compiled.php on line 13350</code></p>

<p>Any ideas , All I am trying to achieve is my own virtual host 'example.dev' by following this guide</p>

<p><a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts</a></p>

<p>Here is almost my <code>vhosts.conf</code> settings:</p>

<pre><code>&lt;VirtualHost *:80&gt;
    ServerAdmin admin@pcpal.com
    DocumentRoot /var/www/pcpal.dev/public
    ServerName pcpal.dev
    ServerAlias pcpal.dev

    &lt;Directory /var/www/pcpal.dev/public &gt;
        Options FollowSymLinks
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>