# Module -\> Manage Module trigger a 500 Internal Server Error

**URL:** <https://community.open-emr.org/t/module-manage-module-trigger-a-500-internal-server-error/20173>\
**Category:** Support\
**Tags:** modules\
**Created:** [March 21, 2023, 6:15am UTC](https://community.open-emr.org/t/module-manage-module-trigger-a-500-internal-server-error/20173 "2023-03-21T06:15:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Guerra](https://community.open-emr.org/user_avatar/community.open-emr.org/fernando_guerra/32/10760_2.png) [@Fernando\_Guerra](https://community.open-emr.org/u/Fernando_Guerra)\
**Post date:** [March 21, 2023, 6:15am UTC](https://community.open-emr.org/t/module-manage-module-trigger-a-500-internal-server-error/20173/1 "2023-03-21T06:15:21Z")

</div>

**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](http://192.168.18.77/openemr/interface/main/tabs/main.php?token_main=voJHFX8l9w)

Any advice  
Thanks  
FER

---

<div class="post-metadata">

**Author:** ![adunsulag](https://community.open-emr.org/user_avatar/community.open-emr.org/adunsulag/32/12606_2.png) [@adunsulag](https://community.open-emr.org/u/adunsulag)\
**Post date:** [March 21, 2023, 1:00pm UTC](https://community.open-emr.org/t/module-manage-module-trigger-a-500-internal-server-error/20173/2 "2023-03-21T13:00:24Z")

</div>

> [@Fernando\_Guerra](#):
>
> Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration,

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'](https://www.google.com/search?q=invalid+command+%27rewriteengine%27&oq=Invalid+command+%27RewriteEngine%27)
