how we enable ssi via htaccess file

First take permission from your host otherwise it would be called violation of rules and laws made by your hosting company. may be ends in termination of your hosting .

create a file in your root directory namely htaccess file.

and put there

Easy htaccess tutorials