I just installed the LAMP development server and I'm still worried about some things. The server is installed on one computer, and I use a laptop for Windows to write my code and test the site through a web browser.
Uploading my script file works in that the JPEG image files are successfully uploaded to the server, but when I try to view the images in a web browser, the permission is rejected.
I check file permissions through the server and they are 600 . I can fix the problem with chmod 777 theimage.jpg , but that doesn't seem like a good solution.
Does the solution have anything to do with Apache configuration? Or is there something else I should do.
Thank you Mike
Update
To clarify, I can upload the JPEG file to /var/www/test/images , but could not view the image in a web browser after it was downloaded. My script runs on a production server (I use Dreamhost). This makes me think that the problem is with the development server that I just installed. Any feedback is greatly appreciated, even if these are just resources that I have to read for a better understanding of server settings.
source share