作者dspswen (阿天)
看板PHP
标题[请益] https iframe 页面会跳出安全性
时间Sat Dec 28 07:39:45 2013
各位大大好
最近我申请好了 SSL,然後在 SSL 导向的页面有使用 iframe
譬如这个导向的路径是在 /var/www/ssl
如果是使用
http://IP/ssl 可以看到 iframe 页面的内容
但是如果是使用
https://domain/ssl/
在 Chrome 跟 Firefox 不会显示,在 IE 会跳出 '仅显示安全的内容'
点选显示所有内容才会显示
请问该怎麽设定才能让 https 内能使用 iframe
我有上网找每一行 ssl.conf 的设定也修改好像也不对,或是根本不是从这边下手
再请有经验的大大指教
感谢,以下附上网站的 ssl.conf
LoadModule ssl_module modules/mod_ssl.so
Listen 443
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout 300
#SSLMutex default
SSLMutex none
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
<VirtualHost _default_:443>
ServerName 网站domain:443
ErrorLog logs/ssl_error_logTransferLog
logs/ssl_access_logLogLevel warn
SSLEngine on
#SSLProtocol all -SSLv2
SSLProtocol -ALL +SSLv3
#SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "/var/log/httpd/server.cer"
SSLCertificateKeyFile "/var/log/httpd/server.key"
SSLCertificateChainFile "/var/log/httpd/uca.cer"
CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x
%{SSL_CIPHER}x \"%r\" %b"
DocumentRoot /var/www/html/ssl/
</VirtualHost>
--
╔───╗ 一定IPAD温开水
│ 芔 │ ▉ ▏
│ │ ▄▄▄▄ 15分钟 咳嗽─out
│ 口亥 │ 芔 ︴︴
│ 米青 │ 口亥米青 〔█▌
╚───╝ ▄▄▄▄ █▌
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.192.106.252
※ 编辑: dspswen 来自: 123.192.106.252 (12/28 07:41)
1F:→ mirae:iframe的src连结必须也是 https 12/28 08:53
2F:→ dspswen:感谢楼上回覆 ! 12/28 09:02