location  ~*   ^/(p_w_uploads|p_w_picpaths)/.*\.(php|php5)$
             {
                   deny all;
             }