I have many sites on our Matrix installation, but all tend to use one single shared site for their SSL, to save on purchasing multiple certs. Applying designs and paint layouts from the origin sites to pages within the secure site obviously leads to browser SSL warnings.
What would be the best/easiest way to solve this:
link the assets also under the SSL site, in which case will Matrix serve them with the right site's URL?
apply web paths from the SSL site to the assets in the other sites, in which case ditto
Anything other ways of doing this, other than cloning everything and losing the ability to reskin across both origin and SSL sites in one go?
You shouldn't have to clone anything. You can just link the assets under the SSL site. Although, if you are linking to those pages, Matrix will aways print the shortest link, so if the links to the non-ssl webpaths are shorter, it will use those.
Now there's a nugget of info I didn't know - thanks, Nic. Having once brought down every site on our Matrix installation by applying a URL to the Designs folder which DNS wasn't not yet pointing to the box, this info would have been very useful at the time. I shall have to do some character counting and removing of directory structures. Never carried out competitive URL shortening before.
The issues being? That Matrix has to process all requests for files which could just have been served by Apache? Is that right? What other issues does ./?a= have?
The issues being? That Matrix has to process all requests for files which could just have been served by Apache? Is that right? What other issues does ./?a= have?
Sorry, I meant that if the SSL URL was longer, then you will have an issue trying to use it in a link if you are using ./?a= or keywords, since Matrix will use a shorter webpath to that asset. I was just saying that you could statically type in that shorter URL into your page, rather than using a keyword. The issue with that is Matrix is no longer handling the linking, so if you changed or updated the webpath or moved the asset you would have a broken link.