MVC4 style bundle giving 403
问题 When bundling/minification is enabled, some of my bundles seem to have an invalid URL in the browser (ending with a /), and IIS gives a 403 forbidden error, as if trying to list a folder's contents. There's no difference in the way my bundles are set up - they are not .min.css, access permissions are correct etc. 回答1: My bundles were registered as paths which corresponded to an actual folder on the solution, e.g. ~/Content/forum . This works fine when bundling is turned off (the bundle is