eboundhost.com

Hosting the world one click at a time

Help Center

Q: Can I have all .html files parsed as .shtml SSI files?

Yes, just create a file named .htaccess (include the '.' in the filename) and put that file in your /htdocs/www/ directory.

In the .htaccess file you need this 1 line:
AddHandler server-parsed .html
Now all files in any directory under /htdocs/www/ with filenames ending in .html will be parsed as Server Side Include (SSI) files, just like they would be if they had an .shtml extension instead.

If you only want this effect in a certain subdirectory tree, just put the .htaccess file in that subdirectory instead of putting it in /htdocs/www.

To turn this effect off in some subdirectory where it has been turned on by an .htaccess file in a directory above it, make a new .htaccess file in the directory where you want to turn it off that has this 1 line:
RemoveHandler .html
FREQUENTLY ASKED QUESTIONS
1) Can I have all .html files parsed as .shtml SSI files?
2) Do you have Server Side Includes (SSI)?

ONLINE MANUALS

CONTACT SUPPORT
Name:
Email:
Telephone:
Website:
Problem Description:
(650 char limit)

© 2000-2008 EBOUNDHOST. ALL RIGHTS RESERVED.