<!--
	For problematic rules, see Zoho-mismatches.xml.


	Other Zoho rulesets:

		- ManageEngine.xml
		- Site24x7.xml
		- Zoho.jp.xml


	Nonfunctional domains:

		- (www.)swissql.com	(cert: *.manageengine.com; $ redirects to http; .+ redirects to that domain and 404s)


	Problematic domains:

		- customer-discussions.zoho.com		(works, redirects to forum.zoho-china.com)
		- forum.zoho-china.com			(mismatched)

-->
<ruleset name="Zoho (partial)">

	<target host="forums.webnms.com" />
	<target host="zoho.com" />
	<target host="*.zoho.com" />
	<target host="zohoblogs.com" />
	<target host="www.zohoblogs.com" />
	<target host="zohocorp.com" />
	<target host="www.zohocorp.com" />
	<target host="*.zohostatic.com" />


	<securecookie host="^forums\.webnms\.com$" name=".+" />
	<securecookie host="^.*\.zoho\.com$" name=".+" />
	<securecookie host="^(?:www\.)?zohoblogs\.com$" name=".+" />


	<rule from="^http://forums\.webnms\.com/"
		to="https://forums.webnms.com/" />

	<!--	Observed wiki subdomains:

			- arvindnatarajan
			- vbmacros
			- zohocrm
			- zohocrmapi
			- zohodiscussions
						-->
	<rule from="^http://((?:accounts|assist|(?:customer-|www\.)?blogs|business|chat|(?:(?:api|help|kbase|lounge|www)\.)?creator|crm|crmkbase|discuss|(?:help\.)?discussions|docs|forums|invoice|iplocation|mail|meeting|notebook|personal|planner|projects|recruit|reports|people|search|share|sheet|show2?|support|viewer|(?:\w+\.)?wiki|export\.writer|writer2?|www)\.)?zoho\.com/"
		to="https://$1zoho.com/" />

	<rule from="^http://(www\.)?zoho(blogs|corp)\.com/"
		to="https://$1zoho$2.com/" />

	<!--	Observed subdomains:

			- css
			- img
			- js
					-->
	<rule from="^http://(\w+)\.zohostatic\.com/"
		to="https://$1.zohostatic.com/"/>

</ruleset>
