Monday, September 11, 2006

Configuring your Apache to permit SSI

Last night I want to install a slim-cms for killer, this CMS base on perl and need Apache open SSI(Server Side Includes) support, I simplely add two line in apache2.conf at first:

AddType text/html .shtml
AddHandler server-parsed .shtml

but my web server can't resolv .shtml at all, search on google for a long time, I found an article said:Line AddHandler tell web server send the file to mod_include, the mod_include will determine how to responses.so I run:

# a2enmod include
# /etc/init.d/apache2 force-reload

All done ;)

No comments: