403 forbidden error when displaying svg image - svg

I'm on a Hostgator server, trying to display a svg image, but the image doesn't display, I only get a 'broken image' icon.
When I'm accessing the svg-file directly, it shows a 403 - forbidden error.
Does this only occur on Hostgator servers? I didn't have have a any problems displaying it on my local machine, before upload.
I have searched Google and Stack Overflow, but had no luck in finding a fix for this.

Make sure that the file permission is correct and their aren't any firewall role that blocks the SVG files.
you can try another svg file.
also you can try to upload a test file with SVG extension to see that is the problem.

Related

Joomla Server unable to read htaccess file, denying access to be safe

From administrator panel I can't find my plugin css or js file. In console log it's showing :
Failed to load resource: the server responded with a status of 403
(Forbidden)
Now when I access this file from console login the browser showing me following message :
Forbidden
You don't have permission to access /plugins/system/helix3/assets/css/bootstrap.css on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Can you guys tell me how can I solve this problem. For this error my plugin is not correctly displaying :(
Thank You.
There is little information you give about your problem, but I will try to help you the same. I had a similar problem and with some research I was able to figure out what my problem was.
First check if file exist /plugins/system/helix3/assets/css/bootstrap.css
Second check the access permissions of your /plugins/system/helix3/assets/css/bootstrap.css in joomla and in the folder permission.
Third check if the css you are using does not need anything else to work. Example in mine was a problem with a plugin for firefox.
Sorry for my English but this is not my native language.

google earth kmz file download issues

Im trying to download and open a kml file on goole earth but a red dot appears over a file in earth. that specific file doesn't appear on earth. I'm bad with tech, I don't know how to code or the coding language so simplified answers will be the most helpful. To find the file, search "nrdc conservation solutions layer for google earth." It is one of the first links/the first kml file that pops up. If it makes any difference I am using a mac. Thank you for the help!
If you have KML with NetworkLinks, the icon in the saved places (left panel) of Google Earth will reflect the state while it is fetching content. A NetworkLink links to another KML file which can a URL to a remote server.
If for example, the network link fails to open then the "error" icon with red circle will be displayed. The red circle basically means the URL failed to load content same as if it failed in a web browser. In most cases, this results from an HTTP 404 not found error that you would see in a web browser for a broken link. It could also be another 4xx code or 5xx HTTP error code. To verify the issue, right-mouse click on the NetworkLink, select "Properties", copy the URL in the link field then paste the URL into a web browser. If the target URL is broken then you'll need to fix the URL then paste back into Google Earth and/or into your KML to work correctly.
If the KML is returned to web browser but not Google Earth then the content-type (aka mime type) might be wrong. You can enable FireBug and/or the web console in your web browser to debug the HTTP response headers.
Here is the full list of icons for the state of NetworkLink from KML 2.2 spec:

403 (Forbidden) on Images with Node.js

I am running a small application: here (it might take a while to load the page)
If I run it in my laptop, it shows all images. However, when I deploy it to my server, sometimes the images are shown, sometimes are not with error: 403 (Forbidden)
What is the reason?
You cannot:
Simple answer: IMDb does not allow image hotlinking.
When you request the file from the server end, it detects it and blocks your request.
From:
How to use media-imdb.com images on a website?

Amazon Cloudfront and Exotic File Extensions - Access Denied

Alright, I've run into a weird issue - I have a series of .unity3d files on Cloudfront via an S3 bucket, as well as test images, and a .unity3d.zip version of one of the files. The .unity3d files result in an "Access Denied", but the images and unity3d.zip file download just fine.
What's going on, and can I fix it, or must I append/trim .zip to all my unity3d files?
So, turns out, this is a mis-diagnosis, related to the exotic file extension. When a ".../file.unity3d" address is entered into the address bar of Chrome, it does not replace the webpage previously loaded. If that previous load was an Access Denied, you'll still see it.
In more detail:
If you have a malformed URL (a typo, say), OR if you have a restricted access file on S3, you get an Access Denied.
And if you have a file the browser doesn't know how to open, it will not update the webpage
So, if you (as I) first visit an address that generates an Access Denied, and then visit a valid address with, say, a unity3d file, in the same tab, it will appear as though the unity3d address generates another Access Denied, when it doesn't, making the valid address appear invalid.
You can more easily see what's going on via curl in the command line.

Broken Image Redirects and HTAccess

Let me try to explain my problem/question.
We have a Zenphoto gallery that when a user on on an Album, we provide them with some embed html that they can use on their own site.
eg
http://spoilertv.co.uk/images/fringe/season-4/promotional-episode-photos/episode-4.01-neither-here-nor-there/
This is great and works well.
However, we recently had to move an album, and this caused an issue with broken image links
see here for example
http://itsawesometv.com/blog/2011/04/07/hawaii-5-0-1-22-hoohuli-naau-poze-promotionale/
You will see that the images are broken and the links take you to a Zenphoto page saying "Object Not Found".
Now what I would like to do is to have some sort of catchall image and link redirect. So that if we have to move album again we won't get loads of 404 errors and broken image links.
eg
So that rather than displaying a broken image on the site that has embeded the old code, that they get a little icon for each broken image. This would stop the 100's of 404 errors in my server log.
Also it would be great if when they clicked on the icon, that rather than go to the Object Not Found page, that it redirects to the Gallery Homepage.
Any suggestions about how I can do this? Links/examples most welcomed.

Resources