XAMPP, PHP 7.1 version on Windows 10
Flarum is installed in C:\xampp\sites\flarum
in httpd-xampp.conf
Alias /forum "C:/xampp/sites/flarum/public"
<Directory "C:/xampp/sites/flarum/public">
AllowOverride All
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>
in C:\xampp\htdocs.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ /forum [R=302,L]
</IfModule>
(I use a 302 redirect for testing so Firefox doesn't cache it)
It's currently working as expected. Last night, I was having a strange problem where logging in would fail silently. My flarum folder was in a different location, but I thought I had it configured correctly for that location then, so I'm not sure what happened but here we are.
EDIT: I removed the .htaccess from my htdocs folder and it works the same. (I put it there because that's how I want the live server to behave)