Forum Moderators: mack
Some weeks ago I embarked on my first SSI coding and, with the help of encyclo, jtara, and le_gber in this thread [webmasterworld.com] I got SSI working fine.
However, I've now found (after returning to my old files after perhaps a month) that suddenly Apache totally fails to parse the includes! I am at my wit's end, since I most certainly didn't change any files nor any settings in Apache since last time. About the only thing I did of any significance was to update to the latest version of IE, but since it no longer works in Firefox either this can't be it.
I checked all the settings in httpd.conf and everything seems correct, i.e. the following lines are all uncommented:
Options Indexes FollowSymLinks Includes
Options +Includes
AddType text/html .shtml
AddHandler server-parsed .shtml .html
Just to make sure it had nothing to do with character encoding I made very simple files and saved them both in HTML kit:
(includedfile.inc)
<P>Test phrase</P>
(freshstart.hmtl)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<p>test</p>
<!--#include file="includedfile.inc" -->
</body>
</html>
Yet here again, the include file simply isn't read. I also tried using "include virtual" with no luck. Does anyone have any idea how I might go about debugging this? Is there an error log within Apache for instance? Thanks in advance!
[edited by: jatar_k at 6:17 pm (utc) on Jan. 19, 2007]
[edit reason] fixed link [/edit]