Hi
I am using this to disallow php running on a folder:
location ~^(/uploads/).*(\.php)$ {
deny all;
}
but how can i disallow both php and html to run on this folder?
Or is it possible to allow only images to run from this folder and how?
Thanks
I am using this to disallow php running on a folder:
location ~^(/uploads/).*(\.php)$ {
deny all;
}
but how can i disallow both php and html to run on this folder?
Or is it possible to allow only images to run from this folder and how?
Thanks