Skip to main content
Participating Frequently
February 24, 2009
Question

Windows Developer to Unix Standard

  • February 24, 2009
  • 1 reply
  • 437 views
I have developed a site in my Windows XP test environment: DWCS4/CF-DeveloperVersion. It tests fine. I have moved the same files to a remote server UNIX 2.6.9-55.0.6 ELsmp environment that also runs on Apache. The web page colors in my localhost environment are basically blue and orange. When the same file is moved to the remote server, the colors become red and purple. Additionally, some of the formatting is stripped.

Where or how might I begin resolv(ing) this issue? Thanks. Barbara
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    February 24, 2009
    Linux/Unix filesystems are case-sensitive. You have to make sure that all the case matches on all your files and where those files are being called. Some examples, <img src="...">, <link rel='stylesheet' type='text/css' href='...'>, <style type="text/css" media="all">@import "...";</style>

    If any of those stylesheet references or imports don't match the case of the filename of the stylesheet, then your web browser won't successfully load that stylesheet. If you're referencing the stylesheet as:
    <style type="text/css" media="all">@import "/MyStyle.css";</style>
    But the filename of that stylesheet is actually:
    myStyle.css
    or
    mystyle.css
    Then it won't work. Double-check all the case on all your css files and all the places those css files are being included.
    balewis1Author
    Participating Frequently
    February 24, 2009
    I copied the css file from a backup and all looks well. There must have been something corrupted in this file, as you suggest. Thank-you so much for responding.