Php_flag engine off subdirectories?

I have a directory where I put the htaccess file with the following rule to disable php execution

php_flag engine off

      

However, if I put the php file in a subdirectory and try to call it from the browser. Php file executed successfully.

How do I apply the rule above to affect subdirectories?

NOTE. Subdirectories are dynamically created, so I cannot manually put the htaccess file on each one

+3


source to share





All Articles