<!--
	Other Ubuntu rulesets:

		- Ubuntu_Forums.org.xml
		- Ubuntu-CN.xml


	Nonfunctional hosts in *ubuntu.com:

		- archive ʳ
		- brainstorm		(Redirects to www.ubuntu.com)
		- cdimage ʳ
		- font ᵖ
		- irclogs		(shows irclogs.canonical.com; mismatched, CN: irclogs.canonical.com)
		- kernel ᵈ
		- loco ³
		- manpages ᵈ
		- odm ³
		- old-releases ʳ
		- packages ᵈ
		- packages-import ᵈ
		- packaging ***
		- pastebin ʰ
		- people ᵈ
		- phablet ᵈ
		- planet		(prints "Page Unavailable"; mismatched, CN: certification.canonical.com)
		- popcon ᵈ
		- iso.qa ³
		- reports.qa ³
		- testcases.qa ʰ
		- pad ʳ
		- releases ʳ
		- screenshots ⁴
		- security ʳ
		- status ʳ
		- summit ʳ
		- upstart ᵈ
		- women ᵈ
		- www ᵈ

	ᵈ Dropped
	ʰ Redirects to http
	ᵖ Plaintext reply
	ʳ Refused
	³ Redirects to testcases.qa; mismatched, CN: testcases.qa.ubuntu.com
	*** Redirects to login.ubuntu.com
	⁴ 404; mismatched, CN: *.canonical.com


	Problematic hosts in *ubuntu.com:

		- entropy
		- fridge
		- shop ᵐ

	ᵐ Mismatched, CN: shop.canonical.com


	These altnames don't exist:

		- www.assets.ubuntu.com
		- www.errors.ubuntu.com
		- www.myapps.developer.ubuntu.com
		- www.lists.ubuntu.com


	Mixed content:

		- Images, on:

			- apps from screenshots.ubuntu.com ⁴
			- community from assets.ubuntu.com ˢ
			- developer from $self ˢ
			- help from pix.toile-libre.org ᵘ
			- insights from $self ˢ

	⁴ Unsecurable <= 404
	ˢ Secured by us
	ᵘ Unsecurable, doesn't trip MCB
	
	Invalid certificate break redirects by server:
		cloud
		juju
		
-->
<ruleset name="Ubuntu.com (partial)">

	<!--	Direct rewrites:
					-->
	<target host="ubuntu.com" />
	<target host="apps.ubuntu.com" />
	<target host="assets.ubuntu.com" />
	<target host="cloud-images.ubuntu.com" />
	<target host="community.ubuntu.com" />
	<target host="design.ubuntu.com" />
	<target host="developer.ubuntu.com" />
	<target host="myapps.developer.ubuntu.com" />
	<target host="errors.ubuntu.com" />
	<target host="help.ubuntu.com" />
	<target host="insights.ubuntu.com" />
	<target host="lists.ubuntu.com" />
	<target host="maas.ubuntu.com" />
	<target host="one.ubuntu.com" />
	<target host="paste.ubuntu.com" />
	<target host="patches.ubuntu.com" />
	<target host="jenkins.qa.ubuntu.com" />
	<target host="uds.ubuntu.com" />
	<target host="uec-images.ubuntu.com" />
	<target host="unity.ubuntu.com" />
	<target host="wiki.ubuntu.com" />

	<!--	Complications:
				-->
	<target host="shop.ubuntu.com" />

		<test url="http://community.ubuntu.com/community-structure/" />
		<test url="http://community.ubuntu.com/contribute/" />
		<test url="http://community.ubuntu.com/help-information/" />
		<test url="http://community.ubuntu.com/favicon.ico" />
		<test url="http://community.ubuntu.com/wp-content/themes/ubuntu-community-theme/library/images/logo-ubuntu_su-orange-hex.png" />


	<securecookie host="." name="^_(?:_utm|gat?$)" />
	<securecookie host="^\w" name="." />


	<rule from="^http://shop\.ubuntu\.com/"
		to="https://shop.canonical.com/" />

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

</ruleset>
