FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 11-24-2007, 12:56 PM
Default 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 : http://httpd.apache.org/docs/2.0/mod/mod_include.html#enabling
> 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

Thread Tools

All times are GMT. The time now is 06:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org