Welcome! Log In Create A New Profile

Advanced

Stop PHP execution on recursive directory structure

Posted by agriz 
Stop PHP execution on recursive directory structure
October 11, 2013 02:36AM
I want to disallow php, sh, cgi or any other scripts in the following directory structure.

/uploads/2013/10/10/1
/uploads/2013/10/10/2
/uploads/2013/10/10/3
..
/uploads/2013/11/10/1
..
/uploads/2014/1/1/3
..
and so on

I know to do this for single folder.
How do i do this for multiple folders?

I was using apache previously.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 52
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready