Dominios - Bad Credit Loan - Debt Consolidation - Payday Loans - Montana Music

PDA

View Full Version : Urgent Help Needed - index.shtml Not Showing


squarehippies
Nov 19th 2007, 8:44 pm
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 20th 2007, 7:35 am
Anyone have any idea?

greys
Nov 20th 2007, 3:03 pm
For getting your index page to work, try adding this:

DirectoryIndex index.shtml index.html

squarehippies
Nov 20th 2007, 7:08 pm
Thanks greys! Adding

Options +Includes
AddHandler server-parsed .shtml .html .htm .php

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 21st 2007, 8:14 pm
BTW here (http://www.squarehippies.com) is the link in case. Appreciate any help! :o