Module -> Manage Module trigger a 500 Internal Server Error

Situation
Menu : Module → Manage Module trigger a 500 Internal Server Error

OpenEMR Version
I’m using OpenEMR version v7

Browser:
I’m using: Firefox

Operating System
I’m using: Ubuntu 20 on VirtualBox

Logs

Any time I use that menu MODULE → Manage Module an error occurs

500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.41 (Ubuntu) Server at 192.168.18.77 Port 80

from /var/log/apache2/error.log

Tue Mar 21 02:05:01.235851 2023] [core:alert] [pid 2847] [client 192.168.18.59:36138] /var/www/html/openemr/interface/modules/zend_modules/public/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration, referer: http://192.168.18.77/openemr/interface/main/tabs/main.php?token_main=voJHFX8l9w

Any advice
Thanks
FER

I think if you take the error from the error log and paste it in google, or even on these forum threads you will quickly find the answer to your problem. Here is a link to the search results on google:
https://www.google.com/search?q=invalid+command+'rewriteengine'&oq=Invalid+command+'RewriteEngine'