Originally posted by chiefobeef
I am having some problems getting SSIs to work with Apache, in Mandrake Linux 9.1.
I am confused because I have followed the directions on apache.org. I guess my question is does it matter where I put my directives in terms of .conf files. I have httpd.conf, httpd2.conf and commonhttpd.conf. So I am sort of confused. I checked and httpd.conf is loading mod_includes. Here's my commonhttpd.conf:
You most likely have not uncommented the line to load the includes module in the /etc/apache/http.conf file from my install:
LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
If you want to use a index.shtml then you will have to change these lines to have it first on the directory index line.
DirectoryIndex index.shtml index.htm index.html index.cgi
If it does not find your other .shtml files you have to uncomment the same AddHandler and AddType that are at the bottom of the file that are in your post. You have to re-start apache for the changes to take effect.