Installing piwik in sub-sub-directory


I’ve installed and tested piwik on my host and it works well, but I wanted to use SSL instead of having passwords unencrypted.
My site has a shared ssl certificate such that https access to my site is at
So I wanted to install piwik at i.e. a sub-directory of a sub-directory
The installation process lets me do that, but when I login, it is looking for pages/assets with urls of
Anyway around this?