Author Topic: Strange skin/css issue after installing RoundCube...  (Read 3366 times)

Offline sushigeek

  • Newbie
  • *
  • Posts: 2
Strange skin/css issue after installing RoundCube...
« on: May 12, 2010, 11:49:06 PM »
Sorry - this is my first posting and if I managed to get the wrong forum, please point me at the correct location and I'll post there.

I'm having a strange issue after finally getting RoundCubeMail installed and working with my server. I've tried both 0.3.1 and 0.4-beta, but I'm getting the same strange issue with the webmail. I suspect it may have something to do with my web service, but I'm not sure where to look next.

I've configured RoundCube to use the sqlite (v2) 'database'.
I'm running under lighttpd with FastCGI. The RoundCube folder is a subfolder of the document root folder. (.../htdocs/rc/ for 0.3.1, and .../htdocs/rcm/ for 0.4-beta).

I've attached a screenshot of what I'm encountering.

I've used a variety of search terms on Google but nothing helpful turned up. Perhaps my Google-fu is weak.

Thanks in advance,

- Eli
« Last Edit: May 12, 2010, 11:50:51 PM by sushigeek »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Strange skin/css issue after installing RoundCube...
« Reply #1 on: May 13, 2010, 06:48:37 AM »
It looks like the stylesheet is not being loaded because the file type that is being returned by the web server is text/plain instead of text/css. Try adding the following to httpd.conf and restarted the server:
Code: [Select]
AddType text/css .css

Offline sushigeek

  • Newbie
  • *
  • Posts: 2
Strange skin/css issue after installing RoundCube...
« Reply #2 on: May 13, 2010, 12:53:22 PM »
Thanks, skaero!

That was the problem. Just for the benefit of others who may encounter this with lighttpd, the syntax for the mimetype assignments looks like this:

mimetype.assign = (
  ".pdf"          =>      "application/pdf",
  ".sig"          =>      "application/pgp-signature",
  ".css"          =>      "text/css"
[deleted for brevity]
  ""               =>      "application/octet-stream"
)