Linux Archive

Linux Archive (
-   Debian User (
-   -   apache2: includes filter error (

cs 11-24-2007 12:56 PM

apache2: includes filter error
On Fri, 2007-11-23 at 13:12 -0500, Marc-Etienne M.LÚveillÚ wrote:
> I suppose the error occurs at line 542 :
> AddOutputFilter INCLUDES .shtml
> First make sure the mod_include module is enabled. To do that, issue the
> # a2enmod include
> command as root. Then, restart with
> # /etc/init.d/apache2 restart
> Second, according to the documentation, you also need the "Includes"
> option to directories containing shtml files. So you might have to add
> the following line.
> Options +Inculdes
> More info :
> My guest is that the module is not enable, so the first step should fix that.
> By the way, the "include" module is just for parsing shtml file. It
> looks for <!--include..> tags in the file, and include them in the
> response. If you don't use them, you can safely comment line 541 and
> 542.

Marc-Etienne, many thanks for that. I guess I forget 'includes' might
not be all lower case so missed it. I've now commented out the lines
since no SSI supported on my box (I'm wondering if I half-enabled it at
some point in the past!)

Thanks, Michael

All times are GMT. The time now is 09:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.