apache - Exclude a a directory in php open_basedir on nginx webserver -



apache - Exclude a a directory in php open_basedir on nginx webserver -

i trying set php open_basedir website , have 2 locations execute php script , need disable php on sub folder within document root. don't know if possible.

are doc roots requires php execution

/home/bastian/html /home/bastian/meatalheavy

i need disable php exection on next dirs

/home/bastian/html/ass_ests /home/bastian/html/images/

php.ini

open_basedir = "/home/bastian/html" ; "/home/bastian/meatalheavy"

the setting of open_basedir php manual sets access directory tree, not specific directory. if you'd restrict subdirectory, must not allow of it's parents.

note: depending on directory layout (and php version) looks want not possible or @ to the lowest degree not w/o big amount of configuration (allowing files , subfolder individually).

php apache nginx

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -