Hi all,
After much hacking around Apache2 still flatly refuses to do anything with my attempts at SSI, and I have no idea what's wrong. I'm running SuSE Linux 10, and Apache reports its version as Apache/2.0.54.
In /etc/apache2/httpd.conf I have added:
Quote:
Options +Includes
<Directory />
Options +Includes
AddOutputFilter INCLUDES .shtml
</Directory>
AddType text/html .shtml
AddHandler server-parsed .shtml
# And this for good measure too
XBitHack on
|
I know this ideally shouldn't be here but I'm trying to remove possibilities for error...
Having read the documentation here:
http://httpd.apache.org/docs/2.0/howto/ssi.html
And here:
http://httpd.apache.org/docs/2.0/mod/mod_include.html
The (S)HTML files I'm using have been copied from here:
http://learning-html.com/server-side-includes.html
After each change to the Apache server I'm restarting it with
apache2ctl -k restart
But the error log shows:
[Fri Sep 14 08:37:05 2007] [notice] SIGHUP received. Attempting to restart
[Fri Sep 14 08:37:06 2007] [notice] Apache/2.0.54 (Linux/SUSE) configured -- resuming normal operations
[Fri Sep 14 08:37:12 2007] [warn] [client 192.168.0.5] mod_include: Options +Includes (or IncludesNoExec) wasn't set, INCLUDES filter removed
I'm starting to go nuts. What am I doing wrong? Many thanks in advance for any tips.