HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
SSI and html
Post new topic   Reply to topic    HTML Help Forum Index -> SSI
View previous topic :: View next topic  
Author Message
quartzy



Joined: 26 Dec 2007
Posts: 477

PostPosted: Sat Sep 05, 2009 3:35 pm     SSI and html Reply with quote

It is possible to make SSI includes on HTML pages. Just add a fix to the server and there is no need to change all the links and file extensions to shtml.
Code:
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes

Found this code whilst searching for days as I did not want to change all of my links and file extensions, being a large 93 page site. Need to check with your server though that they will accept it.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS

PostPosted: Sat Sep 05, 2009 11:42 pm     Reply with quote

You are going to have to edit every page anyway to insert the include code. Just as well rename them to *.shtml as you go. Just remember, the include code added depends on the relationship of the page using it to the include file being called.
sticks464



Joined: 31 Dec 2006
Posts: 2309

PostPosted: Sun Sep 06, 2009 7:47 am     Reply with quote

Some elaboration needed for the statement
Quote:
quartzy:
Just add a fix to the server


Here's an article explaining how, what and why. Very easy to implement.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> SSI All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial