Okay, this has me baffled.
I'm using AWS for my CDN and it works great for everything except this one stylesheet and I don't understand why.
When the stylesheet is on the same server it works just fine:
However, when it's uploaded to Amazon, it doesn't work.
I have checked the ACL settings: Read for everyone, checked the ACL settings for the folder it's in, also Read for everone, I know that the bucket has been deployed, AND if I go to the link directly I can get the stylesheet.
Also tried deleting that bucket and starting over. Nada. Tried putting the stylesheet in a bucket that has other pages / sites pulling from it just fine. Still nothing.
Even stranger yet...I'm using AWS with my stylesheets on multiple other sites.
After all that, I think it has to do with my page.
Is it possible the .htaccess file is messing with it?
I'm flummoxed here guys. Anyone have any ideas?
I'm using AWS for my CDN and it works great for everything except this one stylesheet and I don't understand why.
When the stylesheet is on the same server it works just fine:
Code:
<link rel="stylesheet" type="text/css" href="css-stuff.css" />
Code:
<link rel="stylesheet" href="http://xxxxxxxxxxx.amazoncdn.com/directory/css/css-stuff.css" type="text/css" />
Also tried deleting that bucket and starting over. Nada. Tried putting the stylesheet in a bucket that has other pages / sites pulling from it just fine. Still nothing.
Even stranger yet...I'm using AWS with my stylesheets on multiple other sites.
After all that, I think it has to do with my page.
Is it possible the .htaccess file is messing with it?
Code:
Options -Indexes
<Files *.inc>
Deny From All
</Files>
ErrorDocument 400 http://google.com
ErrorDocument 401 http://google.com
ErrorDocument 403 http://google.com
ErrorDocument 404 http://google.com
ErrorDocument 500 http://google.com
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>