TokenCracker
12-28-2000, 03:22 PM
I noticed that whenever thehypertribe.com is visited it seems like the (default) index.html file is only there to redirect you to index.shtml
I have had lots of experience with mime settings and using htaccess files so I will offer two solutions so visitors will not be fowarded to index.shtml
Firstly, you can simply put this (and only this):
DirectoryIndex index.shtml 404.html
<Files ~ "^\.ht">
Order deny,allow
Deny from all
</Files>
into a text file, name it htaccess, upload it to your host and rename to .htaccess (windows will not see .htaccess as a filename so you must leave out the period and rename it after uploading to your webhost, more often than not, an .htaccess file wont be viewable in the ftp window, or in your host's file manager) index.shtml is where you put the name of the page you need to load when the site is visited, 404.html is where the visitor will be directed if index.shtml wont work, you could add another to the list for if 404.html wont work but I doubt you'll ever need more than these two. the file extention can be anything you need, of course. This is how sites with .php pages direct visitors.
Or, if you want all .html pages in the base web directory parsed for SSI calls then place this (and only this) into the .htaccess file instead of the above:
AddType text/x-server-parsed-html .html
then upload and enjoy. Just trying to help. This may be more than enough instruction than you need but this is how I write instructions, anyways, you can never elaborate too much.
I have had lots of experience with mime settings and using htaccess files so I will offer two solutions so visitors will not be fowarded to index.shtml
Firstly, you can simply put this (and only this):
DirectoryIndex index.shtml 404.html
<Files ~ "^\.ht">
Order deny,allow
Deny from all
</Files>
into a text file, name it htaccess, upload it to your host and rename to .htaccess (windows will not see .htaccess as a filename so you must leave out the period and rename it after uploading to your webhost, more often than not, an .htaccess file wont be viewable in the ftp window, or in your host's file manager) index.shtml is where you put the name of the page you need to load when the site is visited, 404.html is where the visitor will be directed if index.shtml wont work, you could add another to the list for if 404.html wont work but I doubt you'll ever need more than these two. the file extention can be anything you need, of course. This is how sites with .php pages direct visitors.
Or, if you want all .html pages in the base web directory parsed for SSI calls then place this (and only this) into the .htaccess file instead of the above:
AddType text/x-server-parsed-html .html
then upload and enjoy. Just trying to help. This may be more than enough instruction than you need but this is how I write instructions, anyways, you can never elaborate too much.