0

403 error on accessing anything in a website.

Harley Frank 8 years ago updated 8 years ago 0

I just created a website, and linked the folder. I fixed the file permissions. I then try to view the file but I am getting 403 error. I gave the file all permissions and its still giving me a permssion denied.


Here is what the log says:


2016/05/22 13:15:56 [error] 8233#0: *1 "/media/harley/1TB/server/index.html" is forbidden (13: Permission denied), client: 192.168.1.120, server: , request: "GET / HTTP/1.1", host: "192.168.1.73"

2016/05/22 13:22:58 [error] 8637#0: *1 open() "/media/harley/1TB/server/test.html" failed (13: Permission denied), client: 192.168.1.120, server: , request: "GET /test.html HTTP/1.1", host: "192.168.1.73"


I created another file and it does the exact same thing. I changed where the folder is pointing to. And it does the same thing.


I put it back under srv and its still doing the same thing.


What is going on?