I have a problem with my apache server that runs on debian 9.5 since it does not detect the .htaccess and I activated the Module rewrite but apache does not recognize these redirections can you help me how to activate this is locally running in a virtual host in /var /www/mypage
when you create the virtualhost you should have something like this
since without the directory with the route it will not take the htaccess of the project