views:

16

answers:

1

I am getting a mixed content warning from Google Chrome. It does not show in Firefox or Explorer.

I'm opening the site from a test server on localhost running Vista, Apache2.2.16, mod_ssl2.2.16, OpenSSL0.9.8, and PHP5.3.3. All content is forced through https by apache. I am using a self-signed certificate.

The entire source code is contained in index.html. It reads:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
<html>    
 <h1>Hello</h1>
</html>

First, I verified with ctrl-shift-j that there is no mixed content. Then, I tried, in varying combinations, closing Chrome and reopening, clearing the cache, and restarting the server.

Can someone please tell me how to get rid of the warning? Thanks, Jimbo

A: 

I tried accessing the site through https://127.0.0.1 instead of localhost and it worked without a mixed-content warning. I don't understand why the error occurs, but I'm pretty sure this won't be an issue when the site is actually published. Thanks all. --Jimbo

Jimbo