2 Replies Latest reply on Jun 4, 2009 7:13 AM by luuzz

    No Https for images and javascript resources

    luuzz

      Hello,

      I have an application deployed within jboss and accessible by https (apache config). Everything works fine but for optimizing bandwidth usage, we want to keep on using https for the site except static resources as images, js, css,
      ...
      One solution would be to externalize the static resources in another context which would use http but this solution is not prefered.

      Is there another way to force the use of http instead of https only for images and other static resources deployed within jboss ?

      Cheers,
      Alassane

        • 1. Re: No Https for images and javascript resources
          jfclere

          That is a bad idea because most browser will issue a warning that your page is mixing ssl and non-ssl data. (Something _very_ unsafe).

          (Apache config)... Are you using httpd to front-end jboss? If yes just cache the images, js, css in httpd or put them in httpd and get them served by httpd.

          • 2. Re: No Https for images and javascript resources
            luuzz

            Thanks for the quick reply,
            I am aware of the multiple warnings but there may be a config to do in the browser.

            I'll try the caching.

            How can we get those resources served by httpd while they are stored in the application war.

            Cheers