Apache2 does not show .png images - php

I just started migrating my code to the google cloud. The server runs Ubuntu but does not display my images (.png).
http://example.com/icons/logo.png
When I open the console and open the link address directly I receive a 404 not found; but when I just go to `http://example.com/icons``I receive a 403 Forbidden message.
Could it be the case that some permissions for the folder/images are not set correctly? How can display my images?

For anyone who might have a similar issue - I have found this thread and changing the folder name from "icons/" to "images/" resoled the problem, the question of why this happens still remains...

Related

403 - Failed To Load Resource(Forbidden)

I have just started using XAMMP to develope with php as I dont have an actual web hosted server. When I try to laod images locally I get the 403 - Failed To Load Resource(Forbidden) error. Does anyone know how to fix this or allow it so I can load this image. I have tried running chrome with flags and it still did not work. Thankyou
Go to this address and use it when uploading
enter link description here

Timthumb return blank, Why?

I have a wordpress theme with tim-thumb installed, the tim-thumb works fine when site was in local or in staging server (All images are shown as required). But when I upload this into live (Production server) into amazon dedicated server, it stop working for some specific images. Please check this link at Medisetter Image. It always return a blank. I don't know why. My guess is that it is a permission issue but I have recheck the permission with staging server it was same, 755. Oncee I change this to 777 but still it did not work.
Any one can helps me to solve this, Thanks.
I tried giving it a relative path:
http://www.medisetter.com/wp-content/themes/realestate-4/img_resize/timthumb.php?src=../../../uploads/2014/06/di8MEA4ie.png&w=598
But it returns an error that "The file you specified is <= 0 bytes.".
Which means it IS finding the file itself, but is unable to read it?

laravel 4 blank page on live server - 500 error

My laravel site is working correctly on my local apache server and WAS working correctly on my remote live/development server. I carried out an ftp sync last night and now all I can get is a blank white page.
In the console I can see an error status 500 internal server error
I've read similar posts on this suggesting folder permissions and using filezilla I have set the permissions on all files and folders to 777 - I've also tried 775.
I've deleted all the remote files and re-uploaded them (and set permissions again).
I've checked the .htaccess settings (which are standard)
No log files are being created
I'm not sure what I can check next - can anyone help please
Thanks

Tinybrowser Error 403 on Upload Completion

I am trying to get Tinybrowser version 1.42 working and keep running into problems. I was able to get as far as actually being able to upload images (access the Upload tab, browse for the file, watch as it uploaded) but now I am receiving a Status: 403 error message after the upload reaches 100%.
Tinybrowser created the proper directories and they are set to 775, even though the progress bar goes to 100% on upload, nothing is being uploaded.
I found in troubleshooting that I should create an .htaccess file in the "tinybrowser directory" (I assume this is the main directory for the plugin?) with the following contents - this results in an Error 500:
SecFilterEngine Off
SecFilterScanPOST Off
Anyone have any idea how to make this work? I never had this much trouble with past versions
Yes 403 stands for Forbidden.
I face the same problem. After a lot of research i found that some server security is set ON
which blocks the upload.php to upload any image/file. So turn OFF the security stuff and it works.
Hope this will

How can I resolve the access permission problems with fckeditor?

I have website where I can login , trying to edit the records .. as soon as it displays like this,
Forbidden
You don't have permission to access /backoffice/processfaculty.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I am trying to save data from fckeditor and i don't have any htaccess file on the root ... i also checked permission (755 , tried 777)...
If I edit and save with simple texts , it works fine.. but if i do it with fckeditor data, it does not.
Please check you server configuration, you need to have PHP enabled on your server. Look into the error log of your server it will have more information.
This looks like you have a web-firewall installed on your webserver. Temporarily disable it to test if it is causing the issue.
Here is what i think you should look into:
what is the mask value?
umask();
The umask() function changes the file permissions for files.

Categories