Bug#421901: apache2 ignores +includes directive if it is first on options line
Package: apache2
Version: 2.2.3-4
On an apache2 directory configuration the following does not work any more:-
<Directory /var/www2/sites/test.hirst-magnetics.com/>
Options +Includes Indexes FollowSymLinks MultiViews
AddOutputFilter INCLUDES .shtml
AllowOverride None
Order allow,deny
allow from all
DirectoryIndex index.shtml
</Directory>
This use to work on sarge and stopped after i switched to sid.
results are in /var/log/apache2/error.log :-
[Wed May 02 11:54:58 2007] [warn] [client 192.168.0.154] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUD
ES filter removed
And SSI directives were not processed.
A simple workaround seems to be to do the following :-
Options Indexes FollowSymLinks MultiViews +Includes
if +Includes is the first line item on the options line it was not processed but moving it seems to fix the problem.
Couldn't see this bug in the apache2 bugs list so though i better send it in.
Best regards
Robin
--
Dr Robin Cornelius
Design Engineer
Hirst Magnetic Instruments Ltd
(UK Magnetics Society management committee member)
Tel: +44 (0) 1326 372734 www.hirst-magnetics.com
Fax: +44 (0) 1326 378069 www.gaussmeter.co.uk
Tesla House, Tregoniggie Industrial Estate
Falmouth, Cornwall, TR11 4SN, U.K.
Reg No: 1564814 England
VAT Registered: GB730 0277 74
Reply to: