I'm trying to use SSI to add a header and a footer to each of my pages. And I'm getting a 500 internal server error whenever I try to go to that site. The error log says:
[Fri Oct 15 01:01:16 2004] [alert] [client 67.180.191.116] /var/users/ffs/www/.htaccess: Invalid command 'AddOutputFilter', perhaps mis-spelled or defined by a module not included in the server configuration
I know the mod_include is installed because "apache-modconf apache query mod_include" returns "mod_include". Also, it's in the apache modules list in webmin.
.htaccess
Code:
DirectoryIndex Home.php
Options Indexes FollowSymLinks +Includes
AddType application/x-httpd-cgi .cgi
#AddType text/x-server-parsed-html .php
#AddType text/x-server-parsed-html .htm
AddType text/html .htm
AddType text/html .html
AddType text/html .php
AddOutputFilter INCLUDES .html
AddOutputFilter INCLUDES .php
AddOutputFilter INCLUDES .shtml
XBitHack on
:
The reletive part of httpd.conf
Code:
<VirtualHost *:80>
ServerName ffs.ath.cx
DocumentRoot /var/users/ffs/www
<Directory "/var/users/ffs/www">
AllowOverride All
allow from all
Options +Includes
</Directory>
ErrorLog /var/users/ffs/logs/error.log
LogLevel debug
ServerAdmin zac@zacwittedesign.com
</VirtualHost>
And the file I'm trying to load, Home.php:
Code:
<Html>
<Head>
<Title>Fight for Sight</Title>
<!-- CODE BY CULTURE GRAPHIC -->
<!-- -www.culturegraphic.com -->
<Meta Http-Equiv="Content-Type" Content="text/html; charset=iso-8859-1" />
<!--#include file="Top.htm" -->
Fight for Sight^�s mission is to encourage and finance research in ophthalmology, vision and related sciences $
<!--#include file="Bottom.htm" -->
I appriciate any help.
Thanks.