We help IT Professionals succeed at work.

htaccess - disable PHP in specific directory

erzoolander
erzoolander asked
on
204 Views
Last Modified: 2017-04-12
I have a folder called "uploads" that I want to ensure PHP cannot be executed within.  

To accomplish that - would I just place an htaccess file within that directory - with:

php_flag engine off

in it?
Comment
Watch Question

CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION