1

Topic: IredAdmin - Apache configuration - not working correctly - missing CSS

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


Hello,

i have problem with iredadmin panel on my Apache2 server. Please look at attached image, i see only code when i want access mypage/iredadmin

There is my apache2 configuration:

<VirtualHost *:80>

ServerName XXX
ServerAdmin XXX
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"

</VirtualHost>


<VirtualHost *:443>
ServerName XXX
ServerAlias XXX
ServerAdmin XXX
RewriteEngine on
SSLengine on
DocumentRoot /opt/www/roundcubemail/
Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory /opt/www/roundcubemail/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
  Require all granted

</Directory>

<Directory /opt/www/iredadmin/>
     Options Indexes FollowSymlinks MultiViews
     AllowOverride All
     Order allow,deny
     Allow from all
Require all granted

   </Directory>



     
  SSLProtocol all -SSLv2
SSLHonorCipherOrder On
  SSLCipherSuite EECDH+AES:EDH+AES:-SHA1:EECDH+RC4:EDH+RC4:RC4-SHA:EECDH+AES256:EDH+AES256:AES256-SHA:RC4+RSA:!aNULL:!eNULL:!EXP:!LOW:!MD5:!ADH:!EXPORT:!SSLv2:!RC4
  SSLCertificateFile /etc/ssl/XXX/ssl.crt
  SSLCertificateKeyFile /etc/ssl/XXX//ssl.key
  SSLCertificateChainFile /etc/ssl/XXX/sub.class1.server.ca.pem
  SSLCACertificateFile /etc/ssl/XXX/ssl.pem
   
</VirtualHost>


Could somebody help me please?

Post's attachments

iredadmin.jpg 100.13 kb, file has never been downloaded. 

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

----

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

2

Re: IredAdmin - Apache configuration - not working correctly - missing CSS

1) Do NOT run iRedAdmin without HTTPS.
*) Replace your "<Directory /opt/www/iredadmin/></Directory>" with below one:

AddType text/html .py                                                              
AddHandler cgi-script .py                                                          
                                                                                   
<Directory "/opt/www/iredadmin/">                                  
    Require all granted
    Options +ExecCGI                                                               
</Directory>