1

Topic: Iredadmin, got 404 error - problem with SSL ?

======== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 6
- Related log if you're reporting an issue:
====

Hello,
I have a problem with login to /iredadmin panel. Everything works great for more than year but now I get a 404 error.

I think it is because recently I bought SSL certificate and install it on server. I'm not sure but i think that problem start from that moment.

Where can I change and what, that iredadmin could use SSL which I bought not this generated by server, because i think that is solution. Or maybe I'm wrong and that got nothing to do with it?

2

Re: Iredadmin, got 404 error - problem with SSL ?

ag wrote:

Where can I change and what, that iredadmin could use SSL which I bought not this generated by server

SSL doesn't work this way.

You can try to adjust Apache config files to fix this 404 issue.

3

Re: Iredadmin, got 404 error - problem with SSL ?

I double check everything and i have no idea what i need to change.

I've always logged in through: https://one.of.my.ip.address/iredadmin

There was information that the ssl isn't signed, i accepted it and login page was loaded.

Now, when i go to https://one.of.my.ip.address/iredadmin i get 404 error (it's a custom 404 error page of the website which works on one.of.my.ip.address).

Maybe i could make some alias or redirect, so when i go to https://domain.at.one.of.my.ip.address/iredadmin i will be redirected to the iredadmin catalog. Where can i find this catalog ?

4

Re: Iredadmin, got 404 error - problem with SSL ?

ag wrote:

Now, when i go to https://one.of.my.ip.address/iredadmin i get 404 error

404 means Apache cannot find URL /iredadmin, it's not defined in your Apache config file. Did you configure Apache to use '/iredadmin'?

5

Re: Iredadmin, got 404 error - problem with SSL ?

Iredadmin for long time was working great, now something happens and I can't go to login panel.

What is the path to the iredadmin panel?

6

Re: Iredadmin, got 404 error - problem with SSL ?

Could you please check Apache config file first? They're placed under /etc/apache2/. You can try to search 'iredadmin' with below command:

# cd /etc/apache2/
# grep -ilr 'iredadmin' *

7 (edited by ag 2014-03-03 16:32:24)

Re: Iredadmin, got 404 error - problem with SSL ?

OK, I know what was the problem, alias

Alias /iredadmin/static "/usr/share/apache2/iredadmin/static/"
WSGIScriptAlias /iredadmin "/usr/share/apache2/iredadmin/iredadmin.py/"

was in

sites-available/default-ssl

but after installing SSL certificate I needed to disable default-ssl and that's way apache2 can't find iredadmin.

I've added those two lines to other virtualhost file and everything works fine.

Thanks a lot smile