I'm also having 403 Forbidden errors on my newly converted test site. I tried changing all permissions to 777, then 644 for files, but none of it seemed to help. I'm on a dedicated server.
Any other ideas?
I'm getting broken image links like the OP and then if I try to view the actual mysite.com/data/avatars/l/0/1.jpg I get a 403 error.Where are you getting the 403 errors?
I'm getting broken image links like the OP and then if I try to view the actual mysite.com/data/avatars/l/0/1.jpg I get a 403 error.
I just tried 777 and 755 on both of those directories and all sub-directories, but still getting permission errors.Ok. Permissions are my first guess. For the data and internal_data directories you should try both 777 and 755. 644 won't work. And be sure to set permissions for all subdirectories inside of those two directories. Some FTP clients have a "recursive" option that does this.
I'm running my own server using Nginx as the webserver. No mod_security installed.Try removing (or temporarily renaming) any .htaccess files.
It could also be due to some higher level server restriction such as mod_security. You should contact your host. Give them the URL to demonstrate the 403 error.
location /data/ {
allow 127.0.0.1;
deny all;
}
location /internal_data/ {
allow 127.0.0.1;
deny all;
}
location /library/ {
allow 127.0.0.1;
deny all;
}
try_files $uri $uri/ /index.php?$uri&$args;
We use essential cookies to make this site work, and optional cookies to enhance your experience.