Answer the question
In order to leave comments, you need to log in
Why is php not being disabled in a directory via .htaccess?
There is a folder for files, it contains .htaccess with such content
php_flag engine Off
RemoveHandler .php .php2 .php3 .php4 .php5 .phtml .pl .rb .py .cgi .fcgi .fpl
AddType application/octet-stream .php .php2 .php3 .php4 .php5 .phtml .js .html .htm .xhtml .shtml .pl .rb .py .css .sass .less .coffee .cgi .fcgi .fpl
Options -Indexes
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question