Hello,
I want to use SSI ton include the top and bottom section of my website at http://damundus.x10hosting.com/. My user name is mauwth. Here's the source code of my index.html file:
--------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Damundus - Homepage</title>
<link href="styles/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="code/date_clock.js"></script>
</head>
<body style="background-color:#000000" onLoad='date_clock()'>
<div id="centered_on_page">
<table width="756" height="468">
<!--#include file="/home/mauwth/public_html/includes/top.shtml" -->
<tr>
<td width="630" height="315" colspan="2" class="bgcontent">
<div id="page_content">
<!-- begin of page ontent -->
Text<br />
<!-- end of page content -->
</div>
</td>
</tr>
<!--#include file="/home/mauwth/public_html/includes/top.shtml" -->
</table>
</div>
</body>
</html>
--------------------------------------
However, the includes do not show up. What am I missing? I already made the neccessary changes to my .htaccess file:
--------------------------------------
[...]
AddHandler server-parsed .shtml
AddType text/html .shtml
Options Indexes FollowSymLinks Includes
--------------------------------------
I'm out of ideas after playing around with it for 3 hours. I appreciate any advice!
Thanks,
Martin
I want to use SSI ton include the top and bottom section of my website at http://damundus.x10hosting.com/. My user name is mauwth. Here's the source code of my index.html file:
--------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Damundus - Homepage</title>
<link href="styles/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="code/date_clock.js"></script>
</head>
<body style="background-color:#000000" onLoad='date_clock()'>
<div id="centered_on_page">
<table width="756" height="468">
<!--#include file="/home/mauwth/public_html/includes/top.shtml" -->
<tr>
<td width="630" height="315" colspan="2" class="bgcontent">
<div id="page_content">
<!-- begin of page ontent -->
Text<br />
<!-- end of page content -->
</div>
</td>
</tr>
<!--#include file="/home/mauwth/public_html/includes/top.shtml" -->
</table>
</div>
</body>
</html>
--------------------------------------
However, the includes do not show up. What am I missing? I already made the neccessary changes to my .htaccess file:
--------------------------------------
[...]
AddHandler server-parsed .shtml
AddType text/html .shtml
Options Indexes FollowSymLinks Includes
--------------------------------------
I'm out of ideas after playing around with it for 3 hours. I appreciate any advice!
Thanks,
Martin