• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

avoid the mixed-content warning over ssl

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using an Apache 2/Tomcat 5.5/SSL setup and keep receiving mixed-content warnings from IE. Apache is serving the static content like images, styles, etc. and Tomcat is serving the servlet/jsp's.

Every page I access popups the mixed content warning.

Can I modify a Tomcat or Apache conf file to eliminate this problem???


Thanks,
Dave
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These messages are generated by the browser, not Tomcat or Apache HTTPD.

The way to eliminate them is to insure that ALL resources (images, iframes, etc..) linked from secure pages are called through SSL.

Relative links will do this automatically.

Also, with MSIE if you have an src or href attribute in an image or iframe tag with a blank value, this message will show up. To fix this I aim all empty iframes and images to a "blank.html" page.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!