Closed (duplicate)
Project:
CDN
Version:
6.x-2.x-dev
Component:
Module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 Jun 2011 at 21:01 UTC
Updated:
19 Jan 2012 at 10:50 UTC
Jump to comment: Most recent file
My CDN gives me my own subdomain for normal http traffic on http://cdn.mysite.example.com, but for SSL they give me https://secure.example.com/mysite. So changing the http to https wouldn't work 100% for me.
I was thinking of providing an additional text box under the check box for enabling https that functions exactly like the CDN Mapping text box. If HTTPS is turned on and this is a secure page, the code will look at this text box instead.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Separate-HTTPS-CDN-HOSTS-1204400-1.patch | 5.12 KB | frankkessler |
Comments
Comment #1
frankkessler commentedHere's my first shot at a patch. I added a separate text area for adding https cdn hosts. I also removed the current http to https replacement in the code because you can handle that in this new text area. (This is a 6.x patch as I just don't have the time to install 7.x and work from there.)
Comment #2
wim leersThanks for the patch!
However, your changes would complicate the most common use case, where the domain names *do* remain the same. So I'm afraid I can't commit this until it takes that fact into account.
Comment #3
wim leers#1267902: Allow different CDN domain when using HTTPS is almost the same, and has different code.
Comment #4
bendodd commentedCan we mark one as a duplicate and close? Don't mind which. We have have a new patch to post soon.
Comment #5
wim leersYou can choose :)
Comment #6
bendodd commentedDuplicate of #1267902: Allow different CDN domain when using HTTPS