<!--
	Nonfunctional subdomains:

		- btm	(times out)
		- clip	(ditto)

-->
<ruleset name="NIFTY (buggy)" default_off="https://trac.torproject.org/projects/tor/ticket/7107">

	<target host="nifty.com" />
	<target host="*.nifty.com" />
		<!--
			At least some paths 404 over https.

			This pattern attempts to exclude everything
			but favicon.ico and images/, which do work.
									-->
		<exclusion pattern="^http://www\.nifty\.com/(?:\w+$|[^fi]|f[^/]+\.\w+$|i[^m].*/|\w{1,5}/|\w{7,}/)" />
		<exclusion pattern="^http://(?:btm|clip)\." />


	<securecookie host="^.*\.nifty\.com$" name=".+" />


	<!--	!www redirects to www.nifty.com/$ over https.
								-->
	<rule from="^https?://(?:www\.)?nifty\.com/(favicon\.ico|images/)"
		to="https://www.nifty.com/$1" />

	<!--	Clients have unique subdomains.  e.g.

		azby.nifty.com
			-->
	<rule from="^http://([\w\-]+)\.nifty\.com/"
		to="https://$1.nifty.com/" />

</ruleset>
