vega0 is the error still the same in the log files ?
If you can't use the a2enmod
command, what kind of hosting are you using ? If it's managed, maybe there are settings in a dashboard to configure Apache modules.
What's the value of your DocumentRoot
for the website ? Did you use the "customizing paths" instructions of our documentation or are you using the stock Flarum hierarchy with a public folder ?
The error messages in your original post seem to indicate Apache is trying to find a website in the html folder. Either those are related to the default website config and not your Flarum, or if they come from your Flarum virtualhost it must mean DocumentRoot is not properly set.
Also, where did you add the Directory
instruction ? It must go in the virtualhost config, not .htaccess
.