Denying certain file types within a location
Atif Ghaffar
atif.ghaffar at gmail.com
Thu May 7 00:08:09 MSD 2009
Dear all,
I would like to deny all php|cgi|pl files in a certain location.
Whats the best way to do that.
I have something like this
location /some/path {
root /fs/path;
}
Shall I do a check with script_filename?
--
best regards
Atif Ghaffar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090506/30b48802/attachment.html>
More information about the nginx
mailing list