<!--

	For problematic rules, see Vice-problematic.xml.


	Other Vice Media rulesets:

		- Motherboard.tv.xml
		- Noisey.com.xml


	Nonfunctional domains:

		- (www.)noisey.cn
		- scs.viceland.com		(shows default plesk page; expired 2010-11-15, self-signed)


	CDN buckets:


		- ec2-184-73-100-150.compute-1.amazonaws.com
		- scs-assets.s3.amazonaws.com
		- d19o6jcqbnxtyy.cloudfront.net

		- d1qzzfctbfyh6r.cloudfront.net

			- assets.vice.com

		- d1ymkg0yqrfr5q.cloudfront.net
		- df5qbu832tmne.cloudfront.net

			- assets.thumb.vice.com

		- motherboard.vice.com.edgesuite.net
		- motherboard-cdn-assets.vice.com.edgesuite.net


	Nonfunctional hosts in *vice.com:

		- motherboard *

	* Redirects to http


	Problematic subdomains:

		- assets ²
		- link *
		- shop **
		- socials ⁴
		- socials.uk ⁵
		- assets.thump ²

	² cloudfront
	* Mismatched
	** Shoify
	⁴ Expired
	⁵ Revoked


	Fully covered subdomains:

		- (www.)
		- assets	(→ d1qzzfctbfyh6r.cloudfront.net)
		- assets2
		- assets-news
		- assets-sports
		- embeds
		- hbo
		- i-d
		- i-d-images
		- images
		- link		(→ vice.com, cb.sailthru.com)
		- manage
		- motherboard-cdn-assets
		- motherboard-images
		- munchies
		- news
		- news-images
		- noisey
		- sports
		- sports-images
		- staging-assets-news
		- thecreatorsproject
		- thecreatorsproject-images
		- thump
		- assets.thump	(→ df5qbu832tmne.cloudfront.net)


	Insecure cookies are set for these hosts:

		- manage.vice.com


	Mixed content:

		- Images, on:

			- link from media.sailthru.com
			- munchies from images *
			- noisey from assets.noisey.com *
			- thump from assets.thump *
			- www from assets *
			- www from scs-assets.s3.amazonaws.com *

		- Bugs, on:

			- munchies, noisey, thecreatorsproject, www from b.scorecardresearch.com *
			- www from platform.tumblr.com *
			- www from platform.twitter.com *

	* Secured by us

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

	<!--	Direct rewrites:
				-->
	<target host="vice.com" />
	<target host="assets2.vice.com" />
	<target host="assets-news.vice.com" />
	<target host="assets-sports.vice.com" />
	<target host="embeds.vice.com" />
	<target host="hbo.vice.com" />
	<target host="i-d.vice.com" />
	<target host="i-d-images.vice.com" />
	<target host="images.vice.com" />
	<target host="manage.vice.com" />
	<target host="motherboard-cdn-assets.vice.com" />
	<target host="motherboard-images.vice.com" />
	<target host="munchies.vice.com" />
	<target host="news.vice.com" />
	<target host="news-images.vice.com" />
	<target host="noisey.vice.com" />
	<!--target host="socials.vice.com" /-->
	<target host="sports.vice.com" />
	<target host="sports-images.vice.com" />
	<target host="staging-assets-news.vice.com" />
	<target host="thecreatorsproject.vice.com" />
	<target host="thecreatorsproject-images.vice.com" />
	<target host="thump.vice.com" />
	<target host="www.vice.com" />

	<!--	Complications:
				-->
	<target host="assets.vice.com" />
	<target host="link.vice.com" />
	<target host="assets.thump.vice.com" />

		<!--exclusion pattern="^http://(shop|social)\.vice\.com/" /-->

		<!--	Redirects to http:
						-->
		<!--exclusion pattern="^http://motherboard\.vice\.com/" /-->

		<test url="http://news.vice.com/shows" />
		<test url="http://www.vice.com/stuff" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^manage\.vice\.com$" name="^(_lang|PHPSESSID)$" /-->

	<securecookie host="^manage\.vice\.com$" name=".+" />


	<rule from="^http://assets\.vice\.com/"
		to="https://d1qzzfctbfyh6r.cloudfront.net/" />

	<rule from="^http://link\.vice\.com/+(?=$|\?)"
		to="https://vice.com/" />

		<test url="http://link.vice.com/?f" />
		<test url="http://link.vice.com/?o" />
		<test url="http://link.vice.com//" />
		<test url="http://link.vice.com//?o" />

	<rule from="^http://link\.vice\.com/"
		to="https://cb.sailthru.com/" />

		<test url="http://link.vice.com/join/3nh/viceussignup" />

	<!--rule from="^http://store\.vice\.com/"
		to="https://vice.myshopify.com/" /-->

	<rule from="^http://assets\.thump\.vice\.com/"
		to="https://df5qbu832tmne.cloudfront.net/" />

	<rule from="^http:"
		to="https:" />

</ruleset>
