How do I enable SSIs (Server-Side Includes) for .html or .shtml files on my server?
To enable SSIs for .html or .shtml files on your server, there are a couple directives that must be inserted into the vhosts.conf Apache configuration file that will instruct Apache to parse the .html and .shtml files for server-side includes. Software: Apache Detail: Apache must be instructed on how to read files that are accessible through a web browser. }}–> }}–>Some files are displayed in just their text value, some in HTML, and others are specially parsed to display different things in the browser. }}–> }}–>In the case of SSIs, Apache must read these files as HTML/text, but also look for executable files, such as PERL or CGI programs, that are imbedded in the text file. Solution: To enable SSIs for .html or .shtml files on your server, log into your server and cd to the directory /www/conf/ }}–> }}–>Now edit the vhosts.conf file. }}–> }}–>For each domain that SSIs are to be enabled, insert the following directives into the domains’ VirtualHost block: AddType text/html .htm