Hi, Rob
Great thanks for your quick reply. I have tried your suggestion out, and add the following config: [code]
location ~ ^/restrict/
{
auth_basic "STATISTIC";
auth_basic_user_file /usr/local/nginx/conf/pwfornginx
}
location ~ ^/restrict/.*\.php$
{
auth_basic "STATISTIC";
auth_basic_user_file /usr/local/nginx/conf/pwfornginx
}
[/code]
However, it is still not working. No authorization is required when I try to get access to a certain page in the restricted folder.
V/R,
gavin