nginx rules to deny php/perl execution
nfn
nginx-forum at nginx.us
Sat Nov 20 22:31:00 MSK 2010
Olá António,
that's exactly what I need, since these directories have write
permissions, but which rules should I have?
placing something like this will work, but the user can see/read the php
content and I don't want that
[code]
location ~ ^/(cache|static|etc)/ {
root /var/www;
}
[/code]
How do I deny execution/read access to those files
(php|pl!php3|php4|php5)
Thanks
Nuno
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,152089,152102#msg-152102
More information about the nginx
mailing list