How does 'locate' work?

Maxim Dounin mdounin at
Fri Oct 23 10:44:32 MSD 2009


On Thu, Oct 22, 2009 at 09:24:35PM -0400, GAZ082 wrote:

> Thanks Maxim for your continuous support and patience, you are a god send. :)
> I did not put the root in the server because the password file is outside the /public directory, it's one level up, in the private.

Path to password file is *path*.  It has nothing to do with root.

> I want to only protect all the content inside documents, so i think is correct as you pointed out.
> So, basically, my config file does what i want to acomplish, but still getting a 403. Perhaps a permission issue? But i have the same owner and group for files and dirs that are working ok.

It's unlikely to be permission issue.  I've pointed out two 
possible reasons.  Try looking into error log for more details.

Maxim Dounin

More information about the nginx mailing list