Laravel 5 pages are not being displayed on live server
<p>Main Points:
 - I am using Laravel 5, apache, and ubuntu
 - mysite.com is WORKING
 - mysite.com/login works on localhost, but not on live server</p>

<p>I'm building my first website, and my home page is 'live' (it is up and working) My problems arise when I want to create a 'mywebsite/login' page. I am getting a 404 Not Found error on live, when the page works on my local machine. </p>

<p>I believe this is happening because my .htaccess file not rewriting correctly in regards to my folder structure. The problem is I'm not able to figure it out, as this is all new to me.</p>

<p>My document root is /var/www/laravel/public
My .htaccess is in the above folder.
It looks like this</p>

<pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotians.c&gt;
    Options -MultiViews
  &lt;/IfModule&gt;

  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)/$1 [L,R=301]

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

<p></p>

<p>I have a virtual host file for my site in /etc/apache2/sites-available
It's contents look like this</p>

<pre><code>&lt;VirtualHost *:80&gt;
  ServerName mysite.com
  ServerAlias www.mysite.com
  DocumentRoot /var/www/laravel/public

  &lt;Directory /var/www/laravel/public&gt;
    Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
    Allow from all
    Allowoverride All
  &lt;/Directory&gt;
  RewriteEngine on

  &lt;Directory /var/www/laravel&gt;
    AllowOverride All
  &lt;/Directory&gt;

  **A few more lines...**
&lt;/VirtualHost&gt;
</code></pre>

<p>I have also enabled mod_rewrite on the server.</p>

<p>I am thinking that I have a smaller 'pointing' error here somewhere, but I'm not experienced enough with these files to see it. Is there anyone that can give me a hand?</p>

<p>Thanks</p>