Home
 

Customer Support

Search for keywords:

Browse by category:

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

User-Contributed Notes

add a note
There are no user-contributed notes for this topic.

Related Questions:


Do you have Server Side Includes (SSI)?

Do you support Front Page Extensions?

How do I block access to my site based on certain conditions?

Do you support JSP, Tomcat or Resin?

How do I publish with FrontPage?

Do you offer mod_perl, mod_python, WebDAV, ASP, Cold Fusion or Zope?

Do you support Ruby on Rails ?

Why doesn't my banner.gif display?

Browse Categories:

Getting Started, FTP, Telnet/SSH, Moving Domains, E-mail, Traffic Reports, Mailing Lists, Apache, PHP, CGI, Other Server-Side Scripting, MySQL Database, Imaging Libraries, Other Software, Billing & Terms, Control Panel, E-commerce, Pre-Sales


Tiny Modwest Logo         Copyright 2000-2008 by Modwest, Inc.          About Us    |    Blog    |    Jobs    |    Web Design    |    Contact Us