So right now I have a Laravel project set in /var/www/mylaravelproject, and also the Flarum latest beta at /var/www/flarumBeta.
Now, I wanted that someone going to http://mylaravelproject.test/forum would be redirected to the Flarum folder, so I just added the below to the virtual host:
<VirtualHost mylaravelproject.test:80>
...
Alias "/forum" "/var/www/flarumBeta"
<Directory "/var/www/flarumBeta">
AllowOverride All
</Directory>
<Directory "/var/www/mylaravelproject">
....
</VirtualHost>
And it's working fine.
Now, I wanted to test the dev master, which has a public folder. I've installed the dev-master as explainned somewhere, I've updated my virtual host file pointing to public, and now I'm getting a Uncaught Flarum\Http\Exception\RouteNotFoundException
That's how it looks now
<VirtualHost mylaravelproject.test:80>
...
Alias "/forum" "/var/www/flarumMaster/public"
<Directory "/var/www/flarumMaster">
AllowOverride All
</Directory>
<Directory "/var/www/mylaravelproject">
....
</VirtualHost>
Any idea what should I change in Apache to make it work with the dev-master version?