24th Jun 2018, 3:37 PM
APU CHAND MALIK
APU CHAND MALIK - avatar
6 Antworten
+ 3
Forbidden : You don't have permission to access /uploads/star.png on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Check webserver or OS/file permissions. If the image does not work after fixing that, I can mention a headers update to try (ignorable for now).
24th Jun 2018, 4:54 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
If you copy the url of image, paste on adress bar and press enter you know why
24th Jun 2018, 4:02 PM
KrOW
KrOW - avatar
+ 2
Further questions about server configuration will probably do much better on StackOverflow/StackExchange. This is because the issues can get 'weird', and they're not programming issues, per se. To get you started... Apache: https://stackoverflow.com/questions/18447454/apache-giving-403-forbidden-errors (weird example: The 'restorecon' answer is only for 'selinux') Linux: https://unix.stackexchange.com/questions/206006/debian-apache-403-forbidden-errors-and-encrypted-drives (weird example: additional ACL's) And finally, if it works for you that's hard to test (when you want it working here)...so here's a SoloLearn code showing the 403 error. https://code.sololearn.com/c4Z0PO4WMAse/?ref=app Change line 2 to read: buffer = getFile("http://function.ajarulsk.tk/uploads/star.png") ...and run.
25th Jun 2018, 5:39 AM
Kirk Schafer
Kirk Schafer - avatar
0
Kirk Schafer how to unlock the permission.because the website is of mine own.
25th Jun 2018, 2:30 AM
APU CHAND MALIK
APU CHAND MALIK - avatar
0
KrOW ,When I am opening the link the Image file is showing.but not loading in my code
25th Jun 2018, 2:31 AM
APU CHAND MALIK
APU CHAND MALIK - avatar