1 (edited by fletrix 2017-08-07 03:39:53)

Topic: Not Found https://example.com/iredadmin

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MYSQL edition.
- Linux/BSD distribution name and version: Ubuntu 16.04 x64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi!
Can't open https://example.com/iredadmin: 
Not Found
The requested URL /iredadmin was not found on this server.
But https://example.com/mail -  Work!

Day ago everything worked.
Today I updated letsencrypt.


cat /etc/apache2/sites-enabled/default-ssl.conf

<IfModule mod_ssl.c>
    <VirtualHost _default_:443>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/html

       
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        SSLEngine on
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
SSLHonorCipherOrder on

        SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem

                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                SSLOptions +StdEnvVars
        </FilesMatch>
        <Directory /usr/lib/cgi-bin>
                SSLOptions +StdEnvVars
        </Directory>

Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"
Alias /mail "/opt/www/roundcubemail/"

Alias /awstats/icon "/usr/share/awstats/icon/"
Alias /awstatsicon "/usr/share/awstats/icon/"
ScriptAlias /awstats "/usr/lib/cgi-bin/"
    </VirtualHost>
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
--
-----
in  log (error.log)  I see this
[Sun Aug 06 21:51:29.584283 2017] [core:notice] [pid 3482] AH00094: Command line: '/usr/sbin/apache2'
[Sun Aug 06 21:51:32.206206 2017] [mpm_prefork:notice] [pid 3482] AH00169: caught SIGTERM, shutting down
[Sun Aug 06 21:51:33.251232 2017] [wsgi:warn] [pid 3619] mod_wsgi: Compiled for Python/2.7.11.
[Sun Aug 06 21:51:33.251261 2017] [wsgi:warn] [pid 3619] mod_wsgi: Runtime using Python/2.7.12.
[Sun Aug 06 21:51:33.254067 2017] [mpm_prefork:notice] [pid 3619] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Not Found https://example.com/iredadmin

Did you let letsencrypt modify your Apache config files? Check files under /etc/apache2/sites-enabled/ to find the file generated by iRedMail, then compare it with the one modified by letsencrypt.