Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

External CSS file not being accessed from HTML on website in bucket

I have a website, purplechurch.com, whose html pages access external CSS files.  All files appear in a bucket but the CSS files are down a couple of folders in the directory.  All files are publicly accessible and can be viewed with the browser, using the same href URL.  Normally I might set the execute permissions...

While it means very little, it all worked on a Linux host before moving to a bucket.

www.purplechurch.com/index2.html

css example: http://www.purplechurch.com/global/cssstyle/sitetext.css

This seems like a silly little problem but it has me stumped.  Any help is appreciated, and if this is the wrong place to ask, please point me in the right direction.

Solved Solved
0 3 2,058
1 ACCEPTED SOLUTION

You were correct.  I edited the metadata to set the content-type to text/css.  The index.html file is being served from the same bucket.  Unfortunately I think I have problems with the app.yaml script and will need to edit it as well.  Not solved but not part of this thread, will mark as accept as solution.

View solution in original post