I have read these
https://docs.flarum.org/install
https://discuss.flarum.org/d/26070-installing-flarum-in-a-folder
But still it is not clear to me. As I understand, non-public content files should be below webroot for extra security, correct? Given that, what are the exact steps to install/configure in a /forum
subdirectory (when the actual TLD path is occupied by a CMS)?
For example
/home/mysite/public_html/[CMS files and location]
/home/mysite/public_html/forum/[path to access Flarum (I.e. mysite.com/forum goes to Flarum]
Should I create a folder /home/mysite/flarum
Run in that folder composer create-project flarum/flarum
Then go to the TLD site's htaccess /home/mysite/public_html/.htaccess
And add
<Directory "/home/mysite/forum">
AllowOverride All
</Directory>
Or
<Directory "/home/mysite/forum/public">
(I want people to access Flarum by going to mysite.com/forum)