Wednesday, February 24, 2016

Allow SSI (Server Side Includes) on bluehost

The easy way [1] is to add a .htaccess file with this line:

AddHandler server-parsed .html

That's all you need.

Another way [2] is to parse html as PHP. For this, go to cPanel >> Apache Handlers. In the "Extension(s)" box, enter html and in the "Handler" box enter application/x-httpd-php, then click "Add".

[1] https://my.bluehost.com/cgi/help/257
[2] http://www.bluehostforum.com/showthread.php?2359-I-need-help-using-server-side-includes!!

No comments:

Blog Archive

Followers