M
M
MishaMike2016-02-29 13:36:37
Apache HTTP Server
MishaMike, 2016-02-29 13:36:37

How to prevent any execution of scripts in a specific directory and subdirectories?

There is a directory /home/user/php/css/ which contains CSS
How to prohibit any execution of scripts in this directory and in its nested directories?
In .htaccess, which lies one level higher in /home/user/php/, can I write a rule?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Rakhinsky, 2016-02-29
@rakhinskiy

Create .htaccess in the folder, but not in the root :-) but in css
with the line php_flag engine 0

Y
Yuri Chudnovsky, 2016-02-29
@Frankenstine

stackoverflow.com/questions/18932756/disable-all-c...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question