nginx rules to deny php/perl execution

nfn nginx-forum at nginx.us
Sat Nov 20 21:39:12 MSK 2010


Hello,

I have some directories (cache, static, etc) that denies execution of
some files.
In these directories I have a .htaccess file with this rule:


    Order allow,deny
    Deny from all


I would like to test nginx with php-fpm but I don't know how to rewrite
these rules in nginx
Can someone help me?

Thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,152089,152089#msg-152089




More information about the nginx mailing list