+ Reply to Thread
Results 1 to 5 of 5

Thread: Images won't show up after name change

  1. #1
    lydia09 is offline x10Hosting Member lydia09 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    62

    Images won't show up after name change

    Hi everybody,
    I just changed my main domain from:

    lydiascarletswan.x10hosting.com

    to

    lydiascarletswan.com

    and now my images won't show up. I have not moved them from the places they were before on my site, and the paths to them are the same except for the domain name change. Can anyone please explain to me why the images aren't showing up?

    Thanks,
    Lydia

  2. #2
    lydia09 is offline x10Hosting Member lydia09 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    62

    Re: Images won't show up after name change

    Never mind, I got it.

    For future reference, if anyone's interested, Windows puts upper case extensions on things and messes up spaces, so especially if you're using Windows, make sure your extensions are the case you're expecting them to be, whether upper case or lower case, and don't use spaces in any names.

    Hope that helps someone!
    Lydia

  3. #3
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Images won't show up after name change

    I just want to clarify something. Windows is case-insensitive when it comes to files. The file "abc.def" is the same as "ABC.DEF". This is part of the filesystem Windows uses. However, *nix uses different filesystems. Most of them are case-sensitive. The file "abc" is NOT the same file as "Abc". Since x10 uses *nix based servers, they also employ one of those case-sensitive filesystems.
    The webserver itself (Apache) is case-sensitive as well. Thus, a request for "site.com/a" can give completely different results from "site.com/A".
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,267

    Re: Images won't show up after name change

    Quote Originally Posted by marshian View Post
    The webserver itself (Apache) is case-sensitive as well. Thus, a request for "site.com/a" can give completely different results from "site.com/A".
    Sorry, wrong.

    Apache has the same case sensitivity as the underlying operating system when it comes to mapping URLs to files. Apache on Windows is case insensitive when it comes to URLs.

    That is, site.com/TEST.html returns the same results as site.com/test.html on a Windows box.

    Internally, before the URL is mapped to a file, Apache is case sensitive, if you are using mod_rewrite for example.
    Last edited by descalzo; 03-10-2010 at 10:22 AM.
    Nothing is always absolutely so.

  5. #5
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Images won't show up after name change

    Quote Originally Posted by descalzo View Post
    Internally, before the URL is mapped to a file, Apache is case sensitive, if you are using mod_rewrite for example.
    That's what I meant, if Apache was internally case insensitive it's impossible to expect case sensitive behaviour.
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

+ Reply to Thread

Similar Threads

  1. Images don't show up in page
    By mvastro in forum Programming Help
    Replies: 3
    Last Post: 01-22-2010, 10:49 PM
  2. Images do not show
    By jschell in forum Graphics & Webdesign
    Replies: 6
    Last Post: 07-31-2009, 07:05 PM
  3. i cant get my images to show and its really bothering me
    By jonboi09 in forum Programming Help
    Replies: 1
    Last Post: 08-30-2008, 07:26 PM
  4. My Images wont show up
    By xxyashagothkidxx in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 11-22-2007, 04:01 AM
  5. Images no show...
    By Starskey in forum Free Hosting
    Replies: 8
    Last Post: 10-06-2005, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers