-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to reflect current reality
The forwardemail.net service discontinued support for .sc domains, so our mail handling for these domains switched to mailtie.com. The loci.wisc.edu moved to being hosted by UW-Madison IT; unfortunately, they did not preserve the many legacy redirects I had set up, and were not too helpful in our email exchanges back and forth attempting to address the situation, so we gave up. :( Finally, the folder structure of wsr.imagej.net has evolved a bit, since the imagej.nih.gov/ij website moved to imagej.net/ij.
- Loading branch information
Showing
5 changed files
with
11 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,4 @@ | ||
Check IP address: | ||
Check front page: | ||
|
||
$ host loci.wisc.edu | sort | ||
loci.wisc.edu has address 144.92.48.134 | ||
loci.wisc.edu mail is handled by 10 mta1.wiscmail.wisc.edu. | ||
loci.wisc.edu mail is handled by 10 mta2.wiscmail.wisc.edu. | ||
loci.wisc.edu mail is handled by 10 mta3.wiscmail.wisc.edu. | ||
loci.wisc.edu mail is handled by 10 mta4.wiscmail.wisc.edu. | ||
loci.wisc.edu mail is handled by 10 mta5.wiscmail.wisc.edu. | ||
loci.wisc.edu mail is handled by 5 smtp.wiscmail.wisc.edu. | ||
|
||
$ host www.loci.wisc.edu | ||
www.loci.wisc.edu has address 144.92.48.134 | ||
|
||
Check www redirect: | ||
|
||
$ curl -Is http://www.loci.wisc.edu | grep '^\(HTTP\|Location\)' | ||
HTTP/1.1 301 Moved Permanently | ||
Location: https://loci.wisc.edu/ | ||
|
||
Check HTTP-to-HTTPS redirect: | ||
|
||
$ curl -Is http://loci.wisc.edu/.hello | grep '^\(HTTP\|Location\)' | ||
HTTP/1.1 301 Moved Permanently | ||
Location: https://loci.wisc.edu/.hello | ||
|
||
Check hello access: | ||
|
||
$ curl -s https://loci.wisc.edu/.hello | ||
loci.wisc.edu on himalayan | ||
|
||
Check site-specific redirects: | ||
|
||
$ "$TESTDIR/check-redirects.sh" "$TESTDIR/redirects-loci.wisc.edu.txt" | ||
DONE | ||
|
||
Check legacy redirects: | ||
|
||
$ "$TESTDIR/check-redirects.sh" "$TESTDIR/redirects-legacy.txt" -d loci.wisc.edu | ||
DONE | ||
$ curl -Ns https://loci.wisc.edu/ | grep '<title>' | sed 's/ &.*</</' | xargs | ||
<title>Laboratory for Optical and Computational Instrumentation</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters