Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Roundcube doesn't load CSS and JS

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
stfnsn
Posts: 2
Joined: Mon Mar 13, 2017 3:50 pm

Roundcube doesn't load CSS and JS
  • Quote

Post by stfnsn » Mon Mar 13, 2017 3:56 pm

Hi,
I login to my webmail and roundcube doesn't have style at all, plain HTML only. I can't find my mails and can't send any.
This is how it looks like:
Image
Image

My setup:
ubuntu 16.04, nginx+php-fpm, mail exim+devecot+spamassasin, dns, firewall iptables+fail2ban, mysql
Top

ArisC
Posts: 29
Joined: Tue Apr 18, 2017 1:37 pm

Re: Roundcube doesn't load CSS and JS
  • Quote

Post by ArisC » Fri May 05, 2017 7:59 pm

Same Problem here but only for One of my Domains.

I'm looking into it but i don't know if I'll find anything....
Top

alexcy
Posts: 256
Joined: Sun Jun 01, 2014 11:24 pm
Contact:
Contact alexcy
Website

Os: Ubuntu 15x
Web: nginx + php-fpm
Re: Roundcube doesn't load CSS and JS
  • Quote

Post by alexcy » Mon Oct 23, 2017 5:28 pm

Have the same problem. Anyone found a solution?
Top

gordonlgy
Posts: 1
Joined: Mon Apr 02, 2018 10:16 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Roundcube doesn't load CSS and JS
  • Quote

Post by gordonlgy » Tue Apr 03, 2018 2:04 pm

i found a solution
add

Code: Select all

    location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
        alias /var/lib/roundcube/$1;
    }
to /etc/nginx/conf.d/webmail.inc

Code: Select all

location /webmail {
    alias /var/lib/roundcube/;

    location ~ /(config|temp|logs) {
        return 404;
    }

    location ~ ^/webmail/(.*\.php)$ {
        alias /var/lib/roundcube/$1;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
    }
    location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
        alias /var/lib/roundcube/$1;
    }
}
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password