How to Make Scripts Display as Source Codes Using htaccess file ?

Home / Website Design and Management / htaccess file / How to Make Scripts Display as Source Codes Using htaccess file ?

If you want all your cgi, php, perl, py scripts not to run, but just display as source code. htaccess fil can help you by using RemoveHandler finction.

RemoveHandler cgi-script .pl .cgi .php .py
 AddType text/plain .pl .cgi .php .py

Leave a Reply

Your email address will not be published. Required fields are marked *