How do I enable server-side includes on my site ?
#cd /to/your/site/folder
#vi .htaccess
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
------------------------------------------------------------------------------------------
thats it done .
No comments:
Post a Comment