Why is my folder not showing up on the Internet? or download?

For some odd reason, I can no longer access my images in the image folder or its contents https://ksc105.kscserver.com/images/list.png or https://ksc105.kscserver.com/images/bold .png . I could not upload files to images and tried to use chmod a = rw / var / www / images, but that did not help. I am also updating php5 to the latest ubuntu build. What can I do to fix this problem, and what can I do to fix my download problem?

Current images are not displayed because I get 403 error:

Forbidden

You do not have access to /images/bold.png access on this server. Apache server in [..]. Com Port 443

Downloading gives me:

warning: move_uploaded_file (/ [.. ... png): could not open the stream: allowed in [..] / images.php on line 37

Warning: move_uploaded_file (): Unable to move '/var/tmp/[...†.png' to '/var/www/images/nzoom.png' in [..] / images.php on line 37

[..] is simply removing unnecessary variables.

PHP 5 on Apache 2 on Ubuntu 9.

+3
source share
2 answers

I suspect that you have mixed permissions in the directory. You probably want to do:

# chmod 757 /var/www/images
# chmod 644 /var/www/images/*.*

so that the web server user nobody / apache does not access them

+3
source

This is probably due to rights. I suggest you chmod:

  • files 0644 (or 0666if Apache does not work as the same user [FTP])
  • 0755 ( 0777, Apache [FTP])

, , .

+1

All Articles