
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://www.staff.uni-mainz.de/ => https://www.staff.uni-mainz.de/: (60, 'SSL certificate problem: unable to get local issuer certificate')
Fetch error: http://www.students.uni-mainz.de/ => https://www.students.uni-mainz.de/: (60, 'SSL certificate problem: unable to get local issuer certificate')
Fetch error: http://opac-test.ub.uni-mainz.de/ => https://opac-test.ub.uni-mainz.de/: (60, 'SSL certificate problem: unable to get local issuer certificate')
Fetch error: http://www.zdv.uni-mainz.de/ => https://www.zdv.uni-mainz.de/: (60, 'SSL certificate problem: unable to get local issuer certificate')
Fetch error: http://uni-mainz.de/ => https://www.$uni-mainz.de/: (6, 'Could not resolve host: www.$uni-mainz.de')
Fetch error: http://zdv.uni-mainz.de/ => https://www.$uni-mainz.de/: (6, 'Could not resolve host: www.$uni-mainz.de')

	Johannes Gutenberg University of Mainz

	For rules causing false/broken MCB, see University_of_Mainz-falsemixed.xml.


	Nonfunctional hosts in *uni-mainz.de:

		- www.70jahreA *
		- www.asta *
		- www.botgarten *
		- www.career *
		- www.campus-tv *
		- www.kinderuni *
		- www.musik *
		- www.thep.physik *
		- wwwthep.physik ʳ
		- www.rewi *
		- www.sammlungen *
		- www.stiftung-jgsp *
		- www.studgen *

		- in *ub:

			- appserv ᵃ
			- pica41 ᵗ

		- www.puc.verwaltung *
		- wiwi *
		- status.zdv *
		- www.zww *

	* Shows wwwvh.zdv, valid cert
	ᵃ Shows another domain
	ʳ Refused
	ᵗ Reset


	Problematic hosts in *uni-mainz.de:

		- ^ ⁴
		- www.e-learning ᵐ
		- zdv ⁴

	ᵗ 404, preemptable redirect
	ᵐ Mismatched


	Partially covered hosts in *uni-mainz.de:

		- in *ub:

			- lokalsystem *
			- lokalsystem-test *
			- pica71 *
			- pica81 *

		- www.zdv ˣ

	* $ differs
	ˣ Avoiding false/broken MCB, rest handled in University_of_Mainz-falsemixed.xml


	These altnames do not exist:

		- staff.uni-mainz.de
		- students.uni-mainz.de


	Insecure cookies are set for these hosts:

		- ilias.uni-mainz.de
		- www.international.uni-mainz.de
		- www.international-office.uni-mainz.de
		- moodule.uni-mainz.de
		- opac.ub.uni-mainz.de
		- opac-test.ub.uni-mainz.de
		- pica7.ub.uni-mainz.de
		- pica8.ub.uni-mainz.de


	Mixed content:

		- css, on:

			- www.zdv from $self ˢ
			- wwwvh.zdv from www.zdv *

		- Images, on:

			- www.e-learning, www.ub from www.blogs.uni-mainz.de
			- www.e-learning from www.uni-mainz.de ˢ
			- lokalsystem.ub from appserv.ub ᵘ
			- www.medienzentrum from www.glk.uni-mainz.de
			- www.zdv from $self ˢ

		- Bugs on univis from webstats.zdv.uni-mainz.de ˢ

	ˢ Secured by us, see https://www.paulirish.com/2010/the-protocol-relative-url/
	* Negligible effect
	ᵘ Unsecurable, doesn't trip MCB

-->
<ruleset name="Uni-Mainz.de (partial)" default_off='failed ruleset test'>

	<!--	Direct rewrites:
				-->
	<target host="www.blogs.uni-mainz.de" />	
	<target host="www.campusradio.uni-mainz.de" />
	<target host="www.cs.uni-mainz.de" />
	<target host="www.elearning.uni-mainz.de" />
	<target host="ilias.uni-mainz.de" />
	<target host="www.international.uni-mainz.de" />
	<target host="www.international-office.uni-mainz.de" />
	<target host="jogustine.uni-mainz.de" />	
	<target host="login.uni-mainz.de" />		
	<target host="www.medienzentrum.uni-mainz.de" />	
	<target host="moodle.uni-mainz.de" />	
	<target host="moodle-test.uni-mainz.de" />	
	<target host="www.pruefungsamt.jura.uni-mainz.de" />
	<target host="reader.uni-mainz.de" />	
	<target host="www.sfz.uni-mainz.de" />	
	<target host="sport.uni-mainz.de" />	
	<target host="www.sport.uni-mainz.de" />
	<target host="www.staff.uni-mainz.de" />
	<target host="www.students.uni-mainz.de" />
	<target host="www.studium.uni-mainz.de" />	

	<target host="katalogportalmainz.ub.uni-mainz.de" />	
	<target host="lokalsystem.ub.uni-mainz.de" />
	<target host="lokalsystem-test.ub.uni-mainz.de" />
	<target host="opac.ub.uni-mainz.de" />
	<target host="opac-test.ub.uni-mainz.de" />
	<target host="pica7.ub.uni-mainz.de" />
	<target host="pica71.ub.uni-mainz.de" />
	<target host="pica8.ub.uni-mainz.de" />
	<target host="pica81.ub.uni-mainz.de" />
	<target host="www.ub.uni-mainz.de" />	

	<target host="univis.uni-mainz.de" />	
	<target host="pa.wiwi.uni-mainz.de" />
	<target host="www.uni-mainz.de" />

	<target host="webstats.zdv.uni-mainz.de" />
	<target host="www.zdv.uni-mainz.de" />
	<target host="wwwvh.zdv.uni-mainz.de" />

		<!--	$ differs:
					-->
		<exclusion pattern="^http://(?:lokalsystem(?:-test)?|pica[78]1)\.ub\.uni-mainz\.de/(?!cgi-bin/|OPC-IMAGES(?:-NEW)?/)" />

			<!--	+ve:
					-->
			<test url="http://lokalsystem.ub.uni-mainz.de/index.htm" />
			<test url="http://lokalsystem-test.ub.uni-mainz.de/index.htm" />

			<!--	-ve:
					-->
			<test url="http://lokalsystem.ub.uni-mainz.de/OPC-IMAGES-NEW/img_psi/2.0/gui/white.gif" />
			<test url="http://lokalsystem-test.ub.uni-mainz.de/OPC-IMAGES-NEW/img_psi/2.0/gui/white.gif" />
			<test url="http://pica71.ub.uni-mainz.de/OPC-IMAGES-NEW/img_psi/2.0/gui/white.gif" />
			<test url="http://pica81.ub.uni-mainz.de/OPC-IMAGES-NEW/img_psi/2.0/gui/white.gif" />
			<test url="http://pica71.ub.uni-mainz.de/OPC-IMAGES/hermes/search//bullet.gif" />
			<test url="http://pica81.ub.uni-mainz.de/OPC-IMAGES/hermes/search//bullet.gif" />
			<test url="http://lokalsystem.ub.uni-mainz.de/OPC-IMAGES/hermes/search//bullet.gif" />
			<test url="http://lokalsystem-test.ub.uni-mainz.de/OPC-IMAGES/hermes/search//bullet.gif" />

		<!--	Avoid false/broken MCB:
						-->
		<exclusion pattern="^http://www\.zdv\.uni-mainz\.de/umleitungen/" />

			<!--	+ve:
					-->
			<test url="http://www.zdv.uni-mainz.de/umleitungen/staff.html" />
			<test url="http://www.zdv.uni-mainz.de/umleitungen/studierende.html" />

		<!--	$ shows default page, so:
							-->
		<test url="http://login.uni-mainz.de/adfs/ls?version=1.0&amp;action=signin&amp;realm=&amp;appRealm=&amp;returnUrl=&amp;client-request-id=" />

	<!--	Complications:
				-->
	<target host="uni-mainz.de" />
	<target host="www.e-learning.uni-mainz.de" />
	<target host="zdv.uni-mainz.de" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^ilias\.uni-mainz\.de$" name="^(?:iClientId|iltest|PHPSESSID)$" /-->
	<!--securecookie host="^www\.international(?:-office)?\.uni-mainz\.de$" name="^PHPSESSID$" /-->
	<!--securecookie host="^moodle\.uni-mainz\.de$" name="^MoodleSession$" /-->
	<!--securecookie host="^(?:opac|opac-test|pica[78])\.ub\.uni-mainz\.de$" name="^(?:DB|PSC_1)$" /-->

	<securecookie host="^(?:ilias|opac(?:-test)?\.ub|pica[78]\.ub)\.uni-mainz\.de$" name=".+" />


	<rule from="^http://(zdv\.)?uni-mainz\.de/"
		to="https://www.$uni-mainz.de/" />

	<rule from="^http://www\.e-learning\.uni-mainz\.de/"
		to="https://www.elearning.uni-mainz.de/" />

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

</ruleset>
