Skip to content
New issue

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

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

Already on GitHub? # to your account

Error loading file from typescript package in bin folder due to IIS restriction (404s) #22

Closed
wforney opened this issue Jun 4, 2015 · 2 comments

Comments

@wforney
Copy link

wforney commented Jun 4, 2015

The bin folder is blocked in IIS out of box so when installing your typescript plugin I got 404s when it attempted to download the typescript.js file from the bin folder of the typescript package... I'm not sure who publishes that or if you can work around it but it is a blocker for using this on IIS. Whoever maintains the typescript package you use should add a web.config allowing browsing of the bin folder or rename the bin folder something else that isn't blocked (preferred).

web.config contents to fix it below:

<configuration>
  <system.webServer>
   <security>
     <requestFiltering>
        <hiddenSegments applyToWebDAV="false">
           <remove segment="Bin" />
        </hiddenSegments>
     </requestFiltering>
   </security>
  </system.webServer>
</configuration>
@frankwallis
Copy link
Owner

Thanks for the information but I am using the official TypeScript package from Microsoft. So I think that you would be better to raise this issue directly on https://github.com/Microsoft/TypeScript.

@wforney
Copy link
Author

wforney commented Jun 7, 2015

Okay, I created an issue over there as well...

microsoft/TypeScript#3408

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

No branches or pull requests

2 participants