<html><body>
<p><font size="2" face="sans-serif">Hi out there</font><br>
<br>
<font size="2" face="sans-serif">we're working on a linkchecker to remove all gone official and related links in our Repo. Some of the URLs return to our own Repo and lickchecker gets an ugly 404 although the publications exist.</font><br>
<br>
<font size="2" face="sans-serif">So, what we're doing is some LWP::UserAgent &nbsp;stuff, a simple get HEAD of the URL an then analyze the response. If there was a '$status_code == HTTP_METHOD_NOT_ALLOWED' we would try a GET and all together we're doing some delay/retry/timeout handling. But in the end we allways catch a 404 :-(</font><br>
<br>
<font size="2" face="sans-serif">Additional information</font><br>
<font size="2" face="sans-serif">- We use a 404 handler</font><br>
<font size="2" face="sans-serif">- We're allowed to use Get, Put, Trace, Options - all fine, only HEAD method results in a 404 ?!? </font><br>
<font size="2" face="sans-serif">- We use the redirect from </font><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2F1&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=n9ElsxDkD4%2BJtQzZDAIzJtT%2B7xL9I2rUYbfcoxxKwv0%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/1" shash="A3NvoOvFVne0EeyhaSNrlS4slTgMuxFuWZc+SP0MvB0JTM8b7qofUaz9+iMNZhgp8aJWZAnGbBJHTKJixWw3k9qu71zSJ6UPtJnIVU6T99zMmyJEKNYUh1xnekZKu6qoVDZl+IuM9KeW5FAVaqonUEVoYvlbKh6UuCWyIHZyUBY="><font size="2" face="sans-serif">https://www.zora.uzh.ch/1</font></a><font size="2" face="sans-serif">&nbsp;=&gt; </font><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F1%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=4Byz2PKpYTxxi125LBRLH7PFth5zjmAq%2Fsu2exxbsv0%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/id/eprint/1/" shash="iLv3WIFltx242ufAzNOOQUV+6hLI4KEbi8nNVZyRQY6SwtoBfl2DGpRM5f/n24RLcZ73gb5es0Ymfq6nnOxTwSEErnm3IRhM1KCY2wAp1gmim8VXOZjcOqths7Y4vVaFT/FnRFhBA/wJtjdi4OIkyFSkMqeIIVOgwwHF9rcUyFA="><font size="2" face="sans-serif">https://www.zora.uzh.ch/id/eprint/1/</font></a><font size="2" face="sans-serif">&nbsp;and it only seems to concern this dynamic type of content; static pages work fine.</font><br>
<br>
<font size="2" face="sans-serif">Let's show some examples via CURL:</font><br>
<br>
<font size="2" face="sans-serif">[zora]$ </font><font size="2" face="sans-serif"><b>curl -i -X HEAD -L &quot;</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2F1&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=n9ElsxDkD4%2BJtQzZDAIzJtT%2B7xL9I2rUYbfcoxxKwv0%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/1" shash="A3NvoOvFVne0EeyhaSNrlS4slTgMuxFuWZc+SP0MvB0JTM8b7qofUaz9+iMNZhgp8aJWZAnGbBJHTKJixWw3k9qu71zSJ6UPtJnIVU6T99zMmyJEKNYUh1xnekZKu6qoVDZl+IuM9KeW5FAVaqonUEVoYvlbKh6UuCWyIHZyUBY=">https://www.zora.uzh.ch/1</a></b></font><font size="2" face="sans-serif"><b>&quot; (</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2F1%27&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=QQ5YkmaSAJWQuyep1TD%2FkHfj9vYUHa7A%2BE7xJtTLKeU%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/1'" shash="CvpMTwQZvmH9Ao2kz4Xau6CJQHuZg21+W/afPC5X1zR71lyXvV6twDObG0vyGLMJ2UGhGwwjsnfAhgDFvcGoo4WBZ3EeXF8/EhdaRGTdHGicJkmODH3c30wfxSxkiPl1sDtFZmPeiXnivmqRiyYlbrcj3JkmLwCW0UmNdxmifvs=">https://www.zora.uzh.ch/1'</a></b></font><font size="2" face="sans-serif"><b>) </b></font><br>
<font size="2" face="sans-serif"><b>HTTP/1.1 303 See Other</b></font><br>
<font size="2" face="sans-serif">Date: Tue, 14 Jul 2020 11:49:08 GMT</font><br>
<font size="2" face="sans-serif">Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">Location: /id/eprint/1</font><br>
<br>
<font size="2" face="sans-serif">HTTP/1.1 303 See Other</font><br>
<font size="2" face="sans-serif">Date: Tue, 14 Jul 2020 11:49:13 GMT</font><br>
<font size="2" face="sans-serif">Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">Allow: GET,HEAD,PUT,OPTIONS</font><br>
<font size="2" face="sans-serif">Location: </font><font size="2" face="sans-serif"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fid%2Feprint%2F1%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=4Byz2PKpYTxxi125LBRLH7PFth5zjmAq%2Fsu2exxbsv0%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/id/eprint/1/" shash="iLv3WIFltx242ufAzNOOQUV+6hLI4KEbi8nNVZyRQY6SwtoBfl2DGpRM5f/n24RLcZ73gb5es0Ymfq6nnOxTwSEErnm3IRhM1KCY2wAp1gmim8VXOZjcOqths7Y4vVaFT/FnRFhBA/wJtjdi4OIkyFSkMqeIIVOgwwHF9rcUyFA=">https://www.zora.uzh.ch/id/eprint/1/</a></font><br>
<font size="2" face="sans-serif">Strict-Transport-Security: max-age=15780000</font><br>
<br>
<font size="2" face="sans-serif"><b>HTTP/1.1 404 Not Found</b></font><br>
<font size="2" face="sans-serif">Date: Tue, 14 Jul 2020 11:49:18 GMT</font><br>
<font size="2" face="sans-serif">Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">Cache-Control: no-store, no-cache, must-revalidate</font><br>
<font size="2" face="sans-serif">Strict-Transport-Security: max-age=15780000</font><br>
<font size="2" face="sans-serif">Content-Type: text/html; charset=utf-8</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">[zora]$ </font><font size="2" face="sans-serif"><b>curl -i -X HEAD -L &quot;</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=YvJ2dJeRzFiAEiH%2FhgG0LOvAFMOwVSf%2BOKYoBTUpOj0%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/" shash="ZsSoBRn2i/2G/zRlTYnfAlL4wNPUpvaFnAsSZmyqqn645yLNYhfAJ0BUh0B+FoVf5f3OOEXHhW7UYfEq8gvzs7pP+20WY5msoMwACXJMm2CWKcaJtvrrT0EWng+uacztGHAjDF115vdliKjzBneE8bxLRkVNFNIUkn0kKglCPCM=">https://www.zora.uzh.ch/</a></b></font><font size="2" face="sans-serif"><b>&quot; (</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2F%27&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=usxvzFGNow%2B957q2aZ9aORNJu1ePnuI6QCcbDnOEi0g%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/'" shash="qSHdSOJDJYL/XxfTgfMcdoE2Wmf3f22YUr/HgpIyZPfpMNc42isJt1ISiftr87jTJxjXN++CDUFr7ZA15qrdhrvd7pxh+5J+gkXlMVWUIRW+G7M0A2i2yFcwOBawuc9/nif8q+nkOSc7kDlp8gdpVMWt9ihtlYyYbda6w9+b9wE=">https://www.zora.uzh.ch/'</a></b></font><font size="2" face="sans-serif"><b>) </b></font><br>
<font size="2" face="sans-serif"><b>HTTP/1.1 200 OK</b></font><br>
<font size="2" face="sans-serif">Date: Tue, 14 Jul 2020 11:49:31 GMT</font><br>
<font size="2" face="sans-serif">Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">Expires: Thu, 13 Aug 2020 11:49:31 GMT</font><br>
<font size="2" face="sans-serif">Cache-Control: no-store, no-cache, must-revalidate</font><br>
<font size="2" face="sans-serif">Vary: Accept-Encoding</font><br>
<font size="2" face="sans-serif">Strict-Transport-Security: max-age=15780000</font><br>
<font size="2" face="sans-serif">Content-Type: text/html; charset=utf-8</font><br>
<br>
<br>
<br>
<font size="2" face="sans-serif">[zora]$ </font><font size="2" face="sans-serif"><b>curl -i -X HEAD -L &quot;</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fhelp%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=5OMtUfT0RYE0JoU6XgBli1tNqqa%2FdVaL8Mn5BObOm60%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/help/" shash="QFtfRsq9pexJMeRb2CzJZuvz8L2kjvT5lgvxwqxFrLnT54xUlv2qwYL8BEUdwf0g6gCJ5xzTZBwPvsLGTJbdD+jgdTHXuMdb09/7S5hVHwP3pSPpmROkyBv0+Se/8aUBsqHQBmDBpCQfJghbN+LEDq+q4DW3DxBpcBqvxxH6+jE=">https://www.zora.uzh.ch/help/</a></b></font><font size="2" face="sans-serif"><b>&quot; (</b></font><font size="2" face="sans-serif"><b><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.zora.uzh.ch%2Fhelp%2F%27&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cc97109f153f74b07ee9d08d827eea8c1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=6G%2FlV%2BJ%2BXWx5%2FQmGhqISUsvsYXS26Jk8Fm7sml09PGY%3D&amp;reserved=0" originalSrc="https://www.zora.uzh.ch/help/'" shash="b0aGoJ1dlhobrgIs1dIQVW3qXd6hZJk9WMmlrBT/O3qthcHvicKsY97cLBvf/Pq5vita+zWrn/4VmfapYc/MKLElwjc6T/OPe0ifzOydjsUNTgX5DMLUSM9KhQUjfF8cX/xAPY0TIackWvSxX4v4nYMJrtAj/OntZ5GWoiB3hMU=">https://www.zora.uzh.ch/help/'</a></b></font><font size="2" face="sans-serif"><b>) </b></font><br>
<font size="2" face="sans-serif"><b>HTTP/1.1 200 OK</b></font><br>
<font size="2" face="sans-serif">Date: Tue, 14 Jul 2020 11:49:53 GMT</font><br>
<font size="2" face="sans-serif">Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_perl/2.0.11 Perl/v5.16.3</font><br>
<font size="2" face="sans-serif">Expires: Thu, 13 Aug 2020 11:49:53 GMT</font><br>
<font size="2" face="sans-serif">Cache-Control: no-store, no-cache, must-revalidate</font><br>
<font size="2" face="sans-serif">Vary: Accept-Encoding</font><br>
<font size="2" face="sans-serif">Strict-Transport-Security: max-age=15780000</font><br>
<font size="2" face="sans-serif">Content-Type: text/html; charset=utf-8</font><br>
<br>
<br>
<font size="2" face="sans-serif">Does anybody has any suggestion, solution, hint? <br>
<br>
Kind gerads from Zürich<br>
 Martin &amp; Jens</font><br>
<br>
</body></html>