| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Lecture - Server Side Include

Page history last edited by Dr. Ron Eaglin 8 years, 7 months ago

 Server Side Include

 

 

Prerequisites

 

None

 

Summary

 

The basics of using Server Side Include

 

Video 

 

 

Reference Materials

 

ssi_example.shtml

<!DOCTYPE html5>
<html>
<head>
<title>SSI Include Example</title>
</head>
<body>
 <!--#include virtual="navigation.ssi" --> 
<br/>
<br/>This includes a virtual navigation.
</body>
</html> 

 

navigation.ssi

<a href="http://www.yourhtmlsource.com/sitemanagement/includes.html"> Article on Server Side Include</a> 

 

Additional Information

 

Thank you Dr. Eaglin. I can see that being very helpful in the future.

I tried it with you simple example on my GoDaddy Windows hosted account and only had one problem.

I had to change the line you had in your .shtml file to this:

 <!--#include file="navigation.ssi" --> 

Notice that is says to "file" rather than "virtual" like in your example. It works like I have it now, but I wanted to mention it  to you to see if this causes trouble or is just the nature of the beast for Windows hosting... or something else.


 

COP 4813 Lectures

Comments (0)

You don't have permission to comment on this page.