Topic: SQL Structure & Apache VHost Conf
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
====
It would be nice to see an updated SQL structure in the docs for those who try to install iRedMail on an existing server.
Something is up with my VHost configuration and won't allow me to connect to RoundCube or the administration panel. I get a 403 Forbidden error when I try to connect to the administration panel. And I get an error of too many redirects by trying to visit RoundCube. I tried this on a fresh server install and access the applications worked, but that was without modifying the apache conf file, or the VHost. iRedMail was the first thing I installed on a fresh Ubuntu 16 server where I am having these issues.
There is no error when trying to access RoundCube. Trying to access the administration panel throws the following error:
Cannot serve directory /opt/www/iredadmin/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
Here is apache2.conf
https://pastebin.com/nsvqE0m8
Here is my VHost
https://pastebin.com/8TeWAAZm
There are a couple subdomains, but those don't really matter for the purpose of this. All traffic is routed through port 80, but https is served through an ELB I have set up on AWS, and the certificate is served with ACM.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.