Enable html files in Apache to process SSI directive

What is SSI ?
SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.To permit SSI on your server, you must have mod_include installed and enabled. Additionally, you must have the above directive either in your httpd.conf file, or in a .htaccess file. You should place the following lines in the .htaccess file to allow SSI directives to be included in the .html or .htm files

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

Facebook Comments

More Stuff

Manage Your Passwords with RoboForm Everywhere: 5-Year Subscriptio... With the countless number of accounts we usually create on different platforms, websites and applications on the Internet, we are sometimes forced to ...
What’s Left for Congress to Ask Big Tech Firms? A Lot Executives from Amazon, Apple, AT&T, Charter Communications, Google, and Twitter are heading to Washington Wednesday to testify before the Senate ...
Improvement Stories: a simple alternative to User Stories Picture by gdsteam on Flickr (source)You are the Product Owner for a Scrum Team. Your team has just released a brilliant feature they have been w...
Securing your Joomla Website In addition to understanding the threats, and implementing general defensive strategies, it is important to know more specific details about security ...
Spread the love

Posted by News Monkey