Hi

I've been through you recent setup article http://wimleers.com/article/easy-drupal-cdn-integration-for-fun-and-profit and everything appears to work with the exception that as soon as I test (or even put it to live) on my live server (not local) all my front-end styles disappear - using Bartik (please note the administration styles remain).

I have tested this on another one of my sites and exactly the same thing happens.

Please see screenshots attached.

Hope you can help.

Stephen

Comments

wim leers’s picture

Assigned: Unassigned » wim leers
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

If you look at your status report, does it indicate any problems with your files directory not being writeable?

spessex’s picture

Hi Wim

Thanks for getting back.

No issues in the site report what-so-ever with the exception of CDN making me aware only certain people can see the effects of the CDN when testing (and I am admin with settings correct).

The site doesn't even have a sub-theme, just plain old Bartik.

All settings on AWS have been checked and confirmed several times so cannot see issue here either.

As soon as I disable testing (or live mode) all the styes come back straight away.

Please note - as I'm not sure if this has an effect - but I'm on a NGINX configuration using FastCGI.

Love to get this sorted as very keen on using the module.

Thank you

spessex’s picture

To confirm and for information purposes I have the following distribution settings that might be relevant to you:

Delivery Method:Download
Distribution Status:Deployed: Your requested changes have been fully propagated through the CloudFront system. In Progress: The distribution is still being created or updated with your changes.Deployed
Price Class:Select the price class associated with the maximum price that you want to pay for CloudFront service. If you select a price class other than All, some of your users may experience higher latency. For information about pricing, click "?".Use All Edge Locations (Best Performance) (BUT HAVE ALSO TESTED WITH US AND EUROPE ONLY WITH NO DIFFERENCE NOTICED IN TERMS OF PROBLEM).
State:Enabled:
SSL Certificate:Default CloudFront Certificate (*.cloudfront.net)
Domain Name: www.cerebraluk.com
Origin ID: Custom-www.cerebraluk.com
Origin Protocol: HTTP Only
HTTP Port: 80

spessex’s picture

StatusFileSize
new497.09 KB

Please also see attached a screenshot of the Firebug CSS.

spessex’s picture

Hi Wim

I've just resolved the problem but have not closed the issue just incase.

Basically I tried with 'Far Future expiration' turned to 'off' with immediately resolved the issue even considering I'm using the CDN AWS CloudFront and 'Aggregate and compress CSS files' is turned on.

I think it's to do with the fact that I'm using a NGINX??

wim leers’s picture

I think your CDN mapping configuration might just be completely wrong… :)

The screenshot in #4 says: "www.cerebraluk.com/ddoyw3bn9b3l6.cloudfront.net/…". That's completely wrong. It should be "ddoyw3bn9b3l6.cloudfront.net/…".

Can you post your CDN mapping configuration?

wim leers’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (fixed)

.