Hi,
Important: I need flarum in a subdirectory of another PHP app, in my case /forum
I just installed flarum with composer and everything was fine. Until I tried to log in. I have a popup with the following text:
POST https://mydomain.com/forum/login
Invalid or missing CSRF token
Here is my Apache configuration:
Alias "/forum" "/var/www/forum"
<Directory "/var/www/forum">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
The .htaccess of my first php app (not flarum):
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
I did not modify the .htaccess of flarum.
I can access https://mydomain.com/forum but can not log in
Thanks for Flarum, it seems really nice!