<!--
	For rules causing false/broken MCB, see WinZip.com-falsemixed.xml.


	CDN buckets:

		- imagewz.winzip.com.edgesuite.net

			- a1449.g.akamai.net

		- www.winzip.com.edgesuite.net

			- a486.g.akamai.net
			- image

		- 98acdc60cb7e28f9e56a-c9c8355414dceb2e62093c8746e20714.r4.cf2.rackcdn.com

			- install


	Mixed content:

		- css on (www.) from imagewz

		- Images on (www.) from imagewz

		- Ads/web bugs, on (www.) from:

			- imagewz *
			- www.googleadservices.com *


	Nonfunctional subdomains:

		- kb	(dropped)


	Problematic subdomains:

		- inst		(works; mismatched, CN: *.inst.avg.com)
		- install ¹
		- image ¹
		- imagewz ¹

	¹ Works, akamai


	Partially covered subdomains:

		- (www.)	(avoiding false/broken MCB)


	Fully covered subdomains:

		- image		(→ akamai & www)
		- imagewz	(→ akamai & www)
		- inst		(→ inst.avg.com)
		- install	(→ 98acdc60cb7e28f9e56a-c9c8355414dceb2e62093c8746e20714.ssl.cf2.rackcdn.com)
		- store

-->
<ruleset name="WinZip.com (partial)">

	<!--	Enumerate domains in order to avoid one
		of two duplicate target warnings.
						-->
	<target host="winzip.com" />
	<target host="image.winzip.com" />
	<target host="imagewz.winzip.com" />
		<!--
			These reference at least some resources relative to root:
										-->
		<!--exclusion pattern="^http://image(wz)?\.winzip\.com/.+/css/(colorbox|dropdown|dropdowntheme|dropdowntheme_common|jquery-ui-custom|legacy_common)\.css" /-->
		<!--
			While these reference all resources relative to self:
										-->
		<!--exclusion pattern="^http://image(wz)?\.winzip\.com/.+/css/(?!(colorbox_common|dropdownbase|dropdown_common|footer|footer_common|jquery-ui-custom_common|layout|legacy|newsroom|print)\.css)" /-->
	<target host="inst.winzip.com" />
	<target host="install.winzip.com" />
	<target host="store.winzip.com" />
	<target host="*.store.winzip.com" />
	<target host="www.winzip.com" />
		<!--
			Avoid false/broken MCB:
						-->
		<exclusion pattern="^http://(?:www\.)?winzip\.com/(?!cgi-bin/|.+/css/|favicon\.ico|lang\.json|static/)" />


	<securecookie host="^\.store\.winzip\.com$" name=".+" />


	<rule from="^http://(store\.|www\.)?winzip\.com/"
		to="https://$1winzip.com/" />

	<!--	First, rewrite all but stylesheets, or children thereof,
		which reference resources relative to root to akamai:
									-->
	<rule from="^http://image(wz)?\.winzip\.com/(?!.+/css/(?!(?:colorbox_common|dropdownbase|dropdown_common|footer|footer_common|jquery-ui-custom_common|layout|newsroom|print)\.css))"
		to="https://a248.e.akamai.net/f/1449/2216/6/image$1.winzip.com/" />

	<!--	And then everything else to ^:
							-->
	<rule from="^http://image(?:wz)?\.winzip\.com/"
		to="https://winzip.com/" />

	<rule from="^http://inst\.winzip\.com/"
		to="https://inst.avg.com/" />

	<rule from="^http://install\.winzip\.com/"
		to="https://98acdc60cb7e28f9e56a-c9c8355414dceb2e62093c8746e20714.ssl.cf2.rackcdn.com/" />

</ruleset>
