1 (edited by vacuphase 2016-01-06 18:55:16)

Topic: iredadmin 403 Forbidden - No permission to access /iredadmin/

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

Hi guys,
after installing a Let´s Encrypt SSL certificate and changing some configs I can´t access iredadmin anymore.
I followed this guide: http://www.iredmail.org/docs/use.a.boug … icate.html
to set the paths to my let´s Encrypt certificate.

roundcube works fine with /mail/ and the new SSL certificate however.

Browser says:
403 Forbidden
You don't have permission to access /iredadmin/ on this server.

Apache error_log says:
Directory index forbidden by Options directive: /var/www/iredadmin/

Apache conf:
<VirtualHost _default_:443>
    ServerName domain.tld
    DocumentRoot /var/www/html/private/

    # SSL setup
    SSLEngine ON
    #SSLProtocol all -SSLv2 -SSLv3
    #SSLHonorCipherOrder On
    #SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+$

    SSLCertificateFile /usr/local/bin/letsencrypt-shellscript-master/certs/domain.tld/cert.pem
    SSLCertificateKeyFile /usr/local/bin/letsencrypt-shellscript-master/certs/domain.tld/privkey.pem
    SSLCertificateChainFile /usr/local/bin/letsencrypt-shellscript-master/certs/domain.tld/chain.pem

    Alias /cluebringer "/usr/share/cluebringer/webui/"
    Alias /iredadmin/static "/var/www/iredadmin/static/"
    WSGIScriptAlias /iredadmin "/var/www/iredadmin/iredadmin.py/"
    Alias /mail "/var/www/roundcubemail/"
    Alias /awstats/icon "/usr/share/awstats/wwwroot/icon/"
    Alias /awstatsicon "/usr/share/awstats/wwwroot/icon/"
    ScriptAlias /awstats "/usr/share/awstats/wwwroot/cgi-bin/"
</VirtualHost>

I also commented out the 443 Apache settings in conf.d/ssl.conf.

Maybe it´s easy for you to make it work smile Let me know if you need any more information.

----

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

2

Re: iredadmin 403 Forbidden - No permission to access /iredadmin/

Did you change owner/permission of /var/www/iredadmin?

3

Re: iredadmin 403 Forbidden - No permission to access /iredadmin/

Thank you Zhang, for replying so fast every time.
Unfortunately I´m fed up with administrating this program any more.

I switched to zohomail in combination with mandrill and everything just works.

Maybe I´ll come back one time smile

4

Re: iredadmin 403 Forbidden - No permission to access /iredadmin/

I wish you enjoy the new softwares, and hope we can win you back someday. smile