Situation
Hi everyone I have a little problem. I’m trying to open the Manage Modules and Portal Dashboard on my openemr installation on Ubuntu but it is not working. Instead I’m getting this error shown on the screenshot below.
Thank you @visolve for your reply. I have opened my apache2 config file by nano /etc/apache2/apache2.conf. However, I do not know where to make the changes you recommended. Kindly assist. Regards.
@visolve I meant the lines of code you gave before I do not know what to do with them even after opening the apache config file. Could you kindly tell me whether I need to paste or there are specific lines I need to change.
Thank you in advance.
Another method is you can create a new httpd.conf file in apache2 directory.
Add the above mentioned lines in httpd.conf file.
Also in apache2.conf file add the below line
@visolve I have tried both methods, ie adding the lines directly to the conf file and creating htt.conf file. Unfortunately when I restart apache using sudo systemctl restart apache2 I get the error on the screenshot below and the apache server fails to work.
See the error below.
Use MariaDB instead of MySQL, using #3 step above, create the OpenEMR database and user (make sure you write down username and password, you’ll need it later to complete the install)
NOTE: Some directory paths on Ubuntu and other distros will be different (Google is your friend).
I edited apache2 config file by using the step below to resolve the Error 500 and 403 when trying to access Manage Modules
sudo nano /etc/apache2/httpd.conf make the changes in the section like this:
<Directory /srv/www/htdocs/> or <Directory /var/www/html> for Ubuntu and other distros
Options FollowSymLinks
AllowOverride All
Require all granted
<ifModule !mod_access_compat.c>
Options FollowSymLinks
AllowOverride All
Require all granted
Options FollowSymLinks
AllowOverride All
Require all granted
I haven’t tried installing it yet on Ubuntu but I also got it working using same steps on my laptop which runs Linux Mint 20.
I do not know why directory was not closed after each argument although I wrote it in my post?
“forward slash followed by Directory”
any way look at the image make sure the syntax is correct.