Forum Moderators: phranque

Message Too Old, No Replies

.htaccess and SSI's

Is this all I need in my .htaccess file?

         

nigassma

6:19 pm on Aug 18, 2005 (gmt 0)

10+ Year Member



I want to use SSI's and not have to change all my file names to .shtml

All of my sites files are .htm extensions, not .html.

Is all of this necessary and is anything missing?

AddType text/x-server-parsed-html htm
AddType text/x-server-parsed-html html
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

nigassma

5:22 pm on Aug 23, 2005 (gmt 0)

10+ Year Member



Any help would be great.
(Shamless bump :)

Span

5:52 pm on Aug 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To make Apache parse .htm files for SSI directives you need:

AddHandler server-parsed .htm
on Apache 1.3x

or:

AddOutputFilter INCLUDES .htm
on Apache 2.x