1 (edited by manunauta 2012-01-31 01:00:24)

Topic: Connecting to iRedAdmin Pro

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version:  Ubuntu Server 11.10 64 bits
- iRedMail version and backend (LDAP/MySQL): 0.7.4 MySQL
- Any related log? Log is helpful for troubleshooting.
====

Hi,

iRedAdmin Pro is great!
but...
is there any way to connect as https://admin.domain.com, rather than as https://www.domain.com/iredadmin?

Thx.

----

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

2

Re: Connecting to iRedAdmin Pro

You can setup a virtual host in Apache, and set DocumentRoot to iRedAdmin-Pro root directory.

3

Re: Connecting to iRedAdmin Pro

It doesn't work!
I set up a new virtual host like this:

<VirtualHost *:80>
  DocumentRoot /usr/share/apache2/iRedAdmin-Pro-MySQL-1.3.1/
  ServerName admin.mydomain.com
  ServerAlias mydomain.com

  <Directory /usr/share/apache2/iRedAdmin-Pro-MySQL-1.3.1/>
    Order deny,allow
    Allow from all
  </Directory>
</VirtualHost>

When I try to connect to http://admin.mydomain.com or https://admin.mydomain.com, I get a "Server not found" error page.
All my others virtual hosts are working fine.

4

Re: Connecting to iRedAdmin Pro

Try add below settings in virtual host:

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

You can take /etc/apache2/conf.d/iredadmin.conf as example.

5

Re: Connecting to iRedAdmin Pro

ZhangHuangbin wrote:

Try add below settings in virtual host:

WSGISocketPrefix /var/run/wsgi
WSGIDaemonProcess iredadmin user=iredadmin threads=15
WSGIProcessGroup iredadmin

AddType text/html .py

You can take /etc/apache2/conf.d/iredadmin.conf as example.

I get the same error: "Server not Found"
I thought this was easier to configure  :-(

6

Re: Connecting to iRedAdmin Pro

Any log in Apache log file?