1 (edited by penguin567 2016-03-09 06:14:30)

Topic: Can't find /iredadmin/ anymore

======== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.4
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

I've installed yesterday iRedMail 0 9 4 on a fresh and clean system and everything worked as expected, however today i cannot reach https://mydomain.com/iredadmin as i get a 404 error.

I'm also using Let's Encrypt, could this be a related issue?

----

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

2

Re: Can't find /iredadmin/ anymore

What Apache config file did you changed? Did you modify any iRedAdmin related settings in Apache?

3

Re: Can't find /iredadmin/ anymore

ZhangHuangbin wrote:

What Apache config file did you changed? Did you modify any iRedAdmin related settings in Apache?

I modified default-ssl.conf in /etc/apache2/sites-enabled in order to change the URL of roundcubemail and iredadmin and it worked only for roundcubemail.

I tried to revert default-ssl.conf to stock:

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>

And restarted apache, but i still get 404 on /iredadmin/ and roundcubemail is still found on the custom URL i changed, not in mydomain/mail , maybe there's another config file like this that causes a conflict? i don't remember changing other files.

I'll attach an /opt/www/ filezilla screenshot

Post's attachments

filezilla_2016-03-10_00-57-06.png
filezilla_2016-03-10_00-57-06.png 12.53 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: Can't find /iredadmin/ anymore

Check all config files under /etc/apache2/, does any other config file contain setting which overrides this file?

Also, does it work if you comment out other "Alias /xx ..." lines (for testing purpose) in default-ssl.conf?