Thread:Project:Support desk/Short URL vs. https

I have a MediaWiki 1.19.1 installation configured to use short URLs, which in general works great. However, I'm now also trying to enable secure logins and browsing (similar to Wikipedia) and am running into difficulties:

When trying to reach a page using https, it's works fine only so long as I provide the standard, non-shortened form, like so:
 * https://somedomain.com/w/index.php?title=Main_Page

However, if I try to reach the same page using https and the shortened form, it returns a 404 error:
 * https://somedomain.com/wiki/Main_Page

Short URLs without https work perfectly well.

I've checked my $wgServer and wgCanonicalServer and based on what I've read they seem to be set properly ($wgServer=, $wgCanonicalServer= ), though I'd be glad to have that verified. Does anyone know if there's further configuration that needs to be done in order to allow https to coexist nicely with short URLs?