Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: sushigeek on May 12, 2010, 11:49:06 PM

Title: Strange skin/css issue after installing RoundCube...
Post by: sushigeek 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
Title: Strange skin/css issue after installing RoundCube...
Post by: SKaero 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:
AddType text/css .css
Title: Strange skin/css issue after installing RoundCube...
Post by: sushigeek 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"
)