We have a standalone web application running as a subdomain
http://billing.domain.com with modx running on the top level domain. The subdomain is htpasswd protected and appears to work fine, however, when we try using https we get a 404 error from modx.