Gabriela Gibson wrote on Sun, Jan 20, 2013 at 11:57:13 +0000:
> On 20/01/13 05:17, Daniel Shahaf wrote:
>> Gabriela Gibson wrote on Sun, Jan 20, 2013 at 00:15:46 +0000:
>>> On 03/01/13 04:34, Daniel Shahaf wrote:
>>>>> +   <li>Enable Server Side Includes for the relevant DocumentRoot. The
>>>>> +       relevant Apache directive is:
>>>>> +     <pre>          Options +Include
>>>>
>>>> What about:
>>>>
>>>>     AddOutputFilter INCLUDES .html
>>>>
>>> Do we actually need this?  I've not put it in since I was only
>>> documenting the steps I used.
>>
>> Isn't it required to enable SSI?
>
> My tests seem to suggest that the xbithack is sufficient.
>
> It appears to be an either-or decision, the method I've used allows to  
> publish by setting the execute bit, the other way simply publishes all  
> docs in that dir that have the matching extension, see:
>
> http://httpd.apache.org/docs/2.2/howto/ssi.html#configuring

I see.  The interesting part is that I asked about
    AddOutputFilter INCLUDES .html
because httpd.conf has it enabled for us specifically.  I Also tested by
hand and confirmed that /www/subversion.apache.org/index2.html has SSI
directives parsed even if it lacks a +x bit.  So it seems we should
migrate to AddOutputFilter --- both in your patch and in the live
site's .htaccess,*.html files.  Do you agree?

Reply via email to