Laravel 5.1 - Dreamhost VPS - Always getting 404 exception
<p>I have been breaking my head for the last two days now and still don't have a solution. All routes in my Laravel 5.1 are throwing a NotFoundHttpException. </p>

<p>My folder structure looks like this:</p>

<p><a href="https://i.stack.imgur.com/kOGtp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kOGtp.png" alt="enter image description here"></a></p>

<p><strong>Some additional info</strong></p>

<ul>
<li>Both example.com and abc.example.com have web directory set to
/home/username/example.com/myproject/public</li>
<li><p>I have a .htaccess file inside the public folder which looks like</p>

<p>
    
        Options -MultiViews
    </p>

<pre><code>RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</code></pre>

<p></p></li>
</ul>

<p>As Image: 
 <a href="https://i.stack.imgur.com/YER5W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YER5W.png" alt="enter image description here"></a></p>

<ul>
<li>Debugbar is showing the following error:</li>
</ul>

<p><a href="https://i.stack.imgur.com/JBT6H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JBT6H.png" alt="enter image description here"></a></p>

<p>Any help will be highly appreciated. I have tried almost all solutions found on Google. None worked.  </p>