I have hosted my silverlight application on one server in https mode. my images are in server and it's url is as http://localhost/icons/3g.png
My application runs on https site and its is unable to load these image file in silverlight application.
Thanks for your help and support.
Please reply ASAP.
Are you using the image url as follows?
http://localhost/icons/3g.png
Use the relative path instead of the absolute path.
Related
i have IHS 7 installed on an AIX system and its pointing to Application Server . now my requirement is if Application is not accessible or if we are working on the Application it self then whoever access the URL, it redirects to a custom page on the webserver that Application is under construction .
for example url is https://my.Application.com:8089/application if anyone hits this URL then this URL is redirected to custom URL on same webserver https://my.webserver
i have configured a proxy on IHS httpd.conf but it is not working
The good practice in such case is to create two config files and one maintenance page. When your app server do not work you should restart http server with config file which point to the maintenance page.
I am using tarruda datetimepicker for my project, it works all good until I move to https. Tarruda datetimepicker link is http. I get warning
Mixed Content: The page at 'https://mywebsite.com' was loaded over HTTPS, but requested an insecure stylesheet 'http://tarruda.github.io/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min.css'. This request has been blocked; the content must be served over HTTPS.
What can I do to fix this?
Host the file locally or change the link to use https -- https://tarruda.github.io/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min.css. I'd prefer hosting the file locally over the link as it is not a CDN and the owner can choose to discontinue the Github page, essentially killing your link.
I'm trying to secure my website with https. I managed to add the certificates and all that stuff but in some parts of the website i get this message "this website contains interactive content that isn't encrypted (such as scripts)". Any ideas on how to fixed this?
The website runs on localhost.
I am using Apache on OS X Mavericks
You have resources on your website (javascript for example) that isn't sent through a HTTPS request, but rather a regular HTTP request.
Try storing the resources on your own website instead of requesting them from a different one.
yes. When you use https ALL pictures, SSC, and JS files should be loaded from your machine
I am getting the following error when i try to execute send some values via SenchaTouch to the web service. What does this mean, and how can i solve this? The remaining of my code can be found at this SO post
XMLHttpRequest cannot load http://testWebService/service/. Origin http://localhost is not allowed by Access-Control-Allow-Origin.
note: I found this link, but it still didn't help.
If you are planning to run your application as a web application, you have to make sure your web service is in the same domain as your application.
Try this if you are planning to deploy sencha touch through phonegap but want to debug on your browser.
Using chrome,
to disable Cross-site scripting security:
Disable same origin policy in Chrome
Or using safari : (for this method http://localhost won't work)
Open the file locally on safari.(cmd+o and select the html file you wanna run)
Safari does not have XSS security for local files.
Hope it helps.
Regards,
Steve0hh
This is the browser blocking a cross domain XMLHttpRequest. You will need to either run a local copy of the web service on localhost, or upload your application to the TestWebService domain.
See enable-cors.org, to enable Cross-Origin Resource Sharing.
I have SL app which is hosted on a site. In code, I want got a image from another site with https link,
So I tried to create image like:
image = new BitmapImage(new Uri(myUrl, UriKind.RelativeOrAbsolute));
here myUrl is something like "https://myimagesite:port/myimage.jpg" which is different from my app host site.
It is not working. I must use non-security link like "http://myanotherimagesite:port/myimage.jpg" which is not I want.
How to resolve this problem?
You are getting into a touchy subject with Silverlight in regards to access restrictions. For an image, you are not allowed make cross scheme calls (ie if you are http, you can't call https). Here is a link that describes the various access restrictions : http://msdn.microsoft.com/en-us/library/cc189008(v=vs.95).aspx