IIS 7.0 not serving CSS files
After a rebuild of IIS 7, I couldn't get any CSS files to return. If I browsed to the path http://localhost/styles.css, I would a blank page (even when I view source). The problem was that during the reinstall of IIS I forgot to add the Static Content Component.
For Vista and Windows 7:
Control Panel -> Programs -> Turn Windows features on or off
Then navigate to: Internet Information Services -> World Wide Web Services -> Common HTTP Features
Enable the Static Content option
For Vista and Windows 7:
Control Panel -> Programs -> Turn Windows features on or off
Then navigate to: Internet Information Services -> World Wide Web Services -> Common HTTP Features
Enable the Static Content option

1 comments:
Cheers mate!
Helped me, I was pulling my hair at this...
Post a Comment