Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi All,
This is my first attempt with CDN. I am using CloudFront and works great with http://.
Even if I have ticked the Https;// in OTHER and select Match Viewer on the AWS, when I navigate on a https:// page, it loads images, but not CSS or JS, leaving the site quite "white" :-)
I have tried to remove aggregation, nothing. Also, I have manually clicked on the files on the statistic list, and it looks like is perfectly linked - but it just wont load on the page!
Do you have an idea why?
Thank you.
Comment | File | Size | Author |
---|---|---|---|
#7 | china_napaka.JPG | 45.45 KB | ivanl |
Comments
Comment #1
hiryu CreditAttribution: hiryu commentedHi ya,
I have exactly the same problem! Have you, or someone else, found a solution for that?!?
Cheers
Gianluca
Comment #2
kamalrajsahu21 CreditAttribution: kamalrajsahu21 commentedI have also the same issue, so can you please give us some solution for it..
Please help me out if someone finds the solution for the same.
Comment #3
mellenger CreditAttribution: mellenger commentedI was able to get this to work by disabling drupal page caching on the performance page. not ideal but I can see why this would work.
Comment #4
mellenger CreditAttribution: mellenger at Mellenger Interactive commentedComment #5
Wim LeersQuite likely this is a bug in either Drupal 7's page caching or its CSS/JS aggregation, where it doesn't vary by protocol, even though it should.
Closing until it's proven that this is a bug in the CDN module and not Drupal core.
Comment #6
pmol123 CreditAttribution: pmol123 as a volunteer commentedIn my case it was the $base_url causing the problem.
Commenting out the $base_url was not going to work for me.
Since I am using Apache the following worked for me in the settings.php file right after the $base_url setting.
Here is a section of my settings.php on my site.
Demo:
http= http://www.ExpertWitness.com
https= https://www.ExpertWitness.com
Respectfully,
Patrick Michael O'Leary
http://www.PatrickOLeary.com
Comment #7
ivanl CreditAttribution: ivanl as a volunteer commentedAs I have the same problem on two websites I solved the problem in directAdmin panel. Solution from user pmol123 doesn't work for me.
Go to direct Admin :
User Level Login in Directadmin -> Domain Administration -> Click on desired domain -> Check "Use a symbolic link from private_html to public_html - allows for same data in http and https" -> Save"
My both domain works just fine now: https://www.gostol-tst.eu and https://www.irsmartwheel.eu
Kind regards, Ivan