Post Reply 
SSL warnings --> images & css
Jan. 08, 2013, 12:10 PM (This post was last modified: Jan. 08, 2013 12:24 PM by ProxRocks.)
Post: #2
RE: SSL warnings --> images
here's another...

example site - http://www.ittechware.com/public/screenshots

what it does is since the site is NON-SSL and it tries to load an SSL image (and in turn pops up a certificate error!), it 'converts' the image link to NON-SSL so that we don't get the certificat error...

has to be placed higher up in the config than "<*>: Half-SSL 09.05.03..."
Code:
Name = "Convert SSL-Images on non-SSL Sites"
Active = TRUE
URL = "$TST(hCT=*html)$TST(uProt=http:)"
Bounds = "<i(mg|nput|mage)\s*>(^\=)"
Limit = 2048
Match = "\1src=('|")\2https:\3(gif|png|jpg|jpeg|jpe|bmp|xbm|ico)\4('|")\5\6"
Replace = "\1src=\2http:\3\4\5\6"


edit: ps - theoretically, this MAY produce "red X" images...
i have not seen any yet, but theory aside, i myself would rather have a 'silent' "red X" than an "in your face" certificate error Smile!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
SSL warnings --> images & css - ProxRocks - Jan. 02, 2013, 06:37 PM
RE: SSL warnings --> images - ProxRocks - Jan. 08, 2013 12:10 PM
RE: SSL warnings --> images - Oddysey - Jan. 09, 2013, 01:07 AM
RE: SSL warnings --> images & css - ProxRocks - Jan. 25, 2013, 02:31 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 01:34 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 04:02 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 09:31 PM
RE: SSL warnings --> images & css - ProxRocks - Jan. 30, 2013, 09:57 PM
RE: SSL warnings --> images & css - chatterer - Feb. 03, 2013, 11:38 AM
RE: SSL warnings --> images & css - ProxRocks - Feb. 04, 2013, 11:33 AM

Forum Jump: