Index: [Article Count Order] [Thread]

Date:  Sat, 31 May 2008 18:47:50 -0700 (PDT)
From:  Dan Kriwitsky <webhosting (at mark) yahoo.com>
Subject:  [coba-e:13122] Includes Log Error
To:  coba-e (at mark) bluequartz.org
Message-Id:  <579488.78754.qm (at mark) web65601.mail.ac4.yahoo.com>
X-Mail-Count: 13122

I have a site that I have modified the site## file with this:
AddHandler server-parsed .shtml .html

When I access a page on the site that contains an include statement,
<!--#include virtual="menu.html" --> the include file loads, but the page
loads slower and I see this error in the log.

[Sat May 31 19:56:00 2008] [warn] [client IP Address] mod_include: Options
+Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed

Another site that uses .shtml files and hasn't been modified to allow .html
parsed for includes loads fast and shows no error.

Tried some ideas from
https://issues.apache.org/bugzilla/show_bug.cgi?id=33089

In the site##.include file I have this:

<Directory "/home/.sites/###/site##/web">
AllowOverride All
Options FollowSymLinks Indexes IncludesNoExec
AddOutputFilter INCLUDES .html
</Directory>

Any ideas on what I'm missing?

Now, here's a partial solution to the problem. I changed all the include
files to .htm instead of .html, (so they're not parsed), and the problem
seems to have gone away. The only problem with that is the footer file for
the pages contains 
<!--#config timefmt="%Y" --><!--#echo var="DATE_LOCAL" -->
Which is used in the page copyright. I would have to add that to the bottom
of every page, instead of having it in an include file. (Also that isn't
parsing properly as that format should only show the year and not the
entire date, but that's a problem for another post.
http://www.bignosebird.com/sdocs/echo.shtml)

-- 
Dan Kriwitsky