If you need to display scripts as source code, instead of executing, for example to allow review, this can be achieved with the Remove Handler function
To enable this, create a .htaccess file following the main instructions and guidance, and include the following text:
RemoveHandler cgi-script .pl .cgi .php .py
AddType text/plain .pl .cgi .php .py
|
|
|
|
<- Prevent access to php.ini
|
Ensuring media files are downloaded instead of played ->
|
|
Visitor Comments and Responses
|
|
Average Rating: 8.00 out of 10 (2 Votes)
|
|
|