How do I enable server-side includes on my site ?

How do I enable server-side includes on my site ?

    1. #cd /to/your/site/folder

    2. #vi .htaccess

    3. and paste the below content in that 

      ------------------------------------------------------------------------------------------ 
       
      AddType text/html .shtml
      AddHandler server-parsed .shtml
      DirectoryIndex index.shtml index.html index.htm index.php
      Options +IncludesNoExec -ExecCGI 
       
      ------------------------------------------------------------------------------------------ 
    4.  thats it done .

No comments:

Post a Comment

Start and Stop ssh-agent

Below is the bash script used to start and stop ss-agent #!/bin/bash ## in .bash_profile SSHAGENT=`which ssh-agent` SSHAGENTARGS="...