Re: Problem getting Server Side Includes SSI to work on Fedora 8.
On Mon, 21 Apr 2008 21:53:12 +0100, Martin Liddle wrote:
> In message , Nick Kew
> writes
>>On Sun, 20 Apr 2008 13:49:55 GMT
>>Will Kemp wrote:
>>
>>> > Have you added 'Includes' to the options directive for the server
>>> > root directory in httpd.conf? The default config doesn't include
>>> > that - you have to do it manually, or includes won't work.
>>>
>>> Oops! I didn't notice you said that was already there. It wasn't there
>>> in my default Fedora 8 config (httpd-2.2.8-1.fc8.x86_64.rpm)...
>>
>>You may well have been right first time. It's not clear from what's
>>posted whether the Options posted applies to the .shtml files in
>>question. Indeed, anything there could be overridden somewhere else in
>>the config.
>>
>>Only the OP's error log knows what's wrong.
>>
> I am still struggling with this; which log should I be studying? As far
> as I can see (but am definitely not an expert) there is nothing obvious
> overriding the 'Options Includes' that is applied to the root of the
> tree. I have tried adding a clause to apply to the sub directory in
> question but it doesn't help.
No, options applied to the document root directory apply to
subdirectories too.
What about this section of http.conf? Is it properly configured?
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
--
http://SnapAndScribble.com/will
date: Tue, 22 Apr 2008 08:34:09 GMT
author: Will Kemp
|