Ok,

I figured it out - DIR_WS_HTTPS_CATALOG was wrong it should have been just a slash.

Thanks anyway!