I seen this is a solution for most of the problems, my question is where is .htaccess file?
and the default root fold for magento is var/www/html/magento/ ? is that were all of the other files were installed and this .htaccess file has to go?
I'm running Magento2 - Apache2/MariaDB/Php7.1 on Ubuntu Server 18.04 installed with composer in default directory. ( var/www/html/magento/ )