It's likely because his suggestion was only half a suggestion anyway.
If you're going to mess with it, HTTPS_SERVER must be tied with DIR_WS_HTTPS_CATALOG, not DIR_WS_CATALOG.