Module -> Manage Module trigger a 500 Internal Server Error

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

OpenEMR Version
I’m using OpenEMR version v7

I’m using: Firefox

Operating System
I’m using: Ubuntu 20 on VirtualBox


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 Port 80

from /var/log/apache2/error.log

Tue Mar 21 02:05:01.235851 2023] [core:alert] [pid 2847] [client] /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:

Any advice

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:'rewriteengine'&oq=Invalid+command+'RewriteEngine'