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!!
Subscribe to:
Post Comments (Atom)
1 comment:
Online BA Analyst Course
Learn to bridge the gap between business needs and IT solutions with the online BA Analyst course. Get mentored by experts and work on live projects for professional exposure.
Post a Comment