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.

This site uses Akismet to reduce spam. Learn how your comment data is processed.