Urgent Help Needed - index.shtml Not Showing

Discussion in 'Apache' started by squarehippies, Nov 19, 2007.

  1. #1
    I have just moved my website to a new host (mediatemple using gs hosting) and everything was working fine; FTP transfer, even my email has been correctly setup BUT when I tried to access the website, it just appear blank. I use .SHTML for all my files and did put a .htaccess file in the root directory. When I rename the index.shtml file to .html file, it did show in the browser but without all the includes. Here are the content of my .htaccess file currently:

    ErrorDocument 400 /errors/error400.html
    ErrorDocument 401 /errors/error401.html
    ErrorDocument 403 /errors/error403.html
    ErrorDocument 404 /errors/error404.html
    ErrorDocument 500 /errors/error500.html

    FYI I have experimented with various lines like Options +Includes
    AddHandler server-parsed .shtml .html .htm but it's either not showing anything or it downloads as a file when I try to open it in the browser.

    What do I have to add in the file to make my index.shtml and other shtml files show? Please note that I have no advance technical knowledge so hope you guys can help! Thanks in advance!
     
    squarehippies, Nov 19, 2007 IP
  2. squarehippies

    squarehippies Peon

    Messages:
    166
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Anyone have any idea?
     
    squarehippies, Nov 20, 2007 IP
  3. greys

    greys Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    For getting your index page to work, try adding this:

    DirectoryIndex index.shtml index.html
    Code (markup):
     
    greys, Nov 20, 2007 IP
  4. squarehippies

    squarehippies Peon

    Messages:
    166
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks greys! Adding

    seems to solved the problem; all .shtml files showing correctly BUT a new one arise. All php files did not show properly, including the entire forum! Whenever I enter the forum address it downloads as a file and all the php includes in the right navigation displayed the code itself. Anyone have any idea? :confused:
     
    squarehippies, Nov 20, 2007 IP
  5. squarehippies

    squarehippies Peon

    Messages:
    166
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    BTW here is the link in case. Appreciate any help! :eek:
     
    squarehippies, Nov 21, 2007 IP