Page MenuHomePhabricator

404 error at https://wikiba.se/ontology
Open, Needs TriagePublic

Description

I get...

404 Not Found
nginx/1.14.2

... when I try to load https://wikiba.se/ontology, with or without www. However, https://wikiba.se/ontology-1.0.owl works as expected, with and without www.

Potentially related: T99531

Event Timeline

abian created this task.Aug 29 2019, 12:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 29 2019, 12:38 PM
abian updated the task description. (Show Details)Aug 29 2019, 12:40 PM

I missed some .htacces redirects when migrating to nginx. Please try now if it works as intended.

abian added a comment.Aug 29 2019, 2:28 PM

I think the chain of redirects isn't correct now. When I load /ontology with HTTPS there's a redirect that takes me to a HTTP page, and then another redirect switches to HTTPS again.
https://wikiba.se/ontologyhttp://wikiba.se/ontology-1.0.owlhttps://wikiba.se/ontology-1.0.owl

I think the switch to HTTPS should always come first and no HTTPS page should be redirecting to HTTP.

Fascinating. When I curl -v http://wikiba.se/ontologyI get a < Location: https://www.wikiba.se/ontology and afterwards only < Location: http://www.wikiba.se/ontology-1.0.owl