Laravel 5.2 Routes Not Working
<p>I just moved a homestead laravel installation to my own vps setup.</p>

<p>Everything is working fine on the homepage (<strong>XX.XX.XX.XX/public</strong>). </p>

<p>But when i click ay links on the homepage it goes to <strong>XX.XX.XX.XX/link</strong> 
instead of <strong>XX.XX.XX.XX/public/link</strong> as i whould think it should.</p>

<p>I have a local setup with homestead and a link like this one XX.XX.XX.XX/signin whould work fine. </p>

<p>And when i try XX.XX.XX.XX/public/signin on the vps it gives a 404 error.</p>

<p>In my sites-available i have setup the below .conf file.</p>

<pre><code>&lt;VirtualHost *:80&gt;
        ServerName XX.XX.XX.XX/app.domain.dk
        DocumentRoot /var/www/app.domain.dk/public

        &lt;Directory /&gt;
                Options FollowSymLinks
                AllowOverride None
        &lt;/Directory&gt;
        &lt;Directory /var/www/app.domain.dk/public&gt;
                AllowOverride All
        &lt;/Directory&gt;

        ErrorLog ${APACHE_LOG_DIR}/error.log
        LogLevel warn
        CustomLog ${APACHE_LOG_DIR}/access.log combined

&lt;/VirtualHost&gt;
</code></pre>

<p>What could be the problem, please help me : )  </p>