Hi everyone! I’m having a bit of trouble accessing a php file on my site.
Everytime I try to access this file, and only this file, i get redirected to the InfinityFree 403 Forbidden page.
The file permissions and the permissions of the parent directories all seem fine.
Also, the .htaccess and .override files haven’t been changed from the default config.
I don’t think it’s a permissions issue. Do you get the error when you try to load one of the linked files? I think the anti-fraud or fair use automated systems may be blocking the file (hence the 302 code), but I can’t find anything that might trigger it just by looking at that file.
Apparently the the anti-fraud or fair use automated system didn’t like the folder named “modules”.
I did some moving around and changed the code to point to the new location and all is fine now.
Yep, the modules directory name is blocked. I don’t know when or why it was blocked, but my guess is that it might be that some CMS has a modules folder which contained vulnerable or harmful scripts that were targeted by hackers.