Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks entire page/site when used with Microsoft Azure Servers #49

Open
patrickbjohnson opened this issue May 14, 2014 · 2 comments
Open
Labels

Comments

@patrickbjohnson
Copy link

Was trying to use this for a client site and worked perfectly locally. Upon upload each page that used this for the background image would load briefly then direct to a 404 error page in IE8 only (did not try IE7 or lower). After hours of trouble shooting I realized, with everything else intact, remove the -ms-behavior: url(/backgroundsize.min.htc); was effectively breaking the site.

Resorts to using MS filters to help accommodate full screen images within divs for backwards compatibility.

@jefferyto
Copy link
Collaborator

Are you using Azure's Virtual Machines or Web Sites service?

If VMs, did you check that the URL / file path was correct, and that it is served with the correct MIME type (text/x-component)? Since the polyfill has no server dependencies (other than the correct MIME type and served from the same domain as the page), it should work on any cloud platform.

If Web Sites, I deployed the demo page from GitHub and it seems to work fine in IE8: http://background-size-polyfill.azurewebsites.net/

@patrickbjohnson
Copy link
Author

I'll give it another once over. The client is using azure servers for their site and I'm not super familiar with how that runs.

I did notice that for some reason the file isn't on the FTP so that easily could've been the problem. That would've saved me hours of work. I'll double check and let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants