Do you use or administer OpenEMR? Take the General Satisfaction Survey to help improve the product

Move OpenEMR to root folder

Installed OpenEMR 6 by following the wiki in a Debian 10 server. If i want to access the openemr is by hitting http://IP_address/openemr and here is the code

root@openemr: /etc/apache2/sites-available $ ll
total 16
-rw-r--r-- 1 root root 1332 Aug  8 10:47 000-default.conf
-rw-r--r-- 1 root root 6338 Aug  8 10:47 default-ssl.conf
-rw-r--r-- 1 root root  286 Jan 11 08:26 openemr.conf
root@openemr: /etc/apache2/sites-available $ more openemr.conf
<Directory "/var/www/html/openemr">
  AllowOverride FileInfo
  Require all granted
  <Directory "/var/www/html/openemr/sites">
  AllowOverride None
  <Directory "/var/www/html/openemr/sites/*/documents">
  Require all denied
root@openemr: /etc/apache2/sites-available $

i would like to omit the openemr suffix and simply by hitting the IP (http://IP_Address).
What are the changes needed, please?

Apache redirect should work. But if you do not want to even see the node, look up apache rewrite.

Could you help me with the rewrite please? Not really familiar with that

In your case it may be simpler to use directoryindex.
Try with leaving index files and without.
Otherwise choose your variation suggested by Dr. Google.