Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Using one box, I have an IIS server and a tracd server running. Via ARR, any request on the IIS server matching /trac/* is proxied through to the tracd server.

Everything is working fine, except when a user requests something like /trac/Test/browser/trunk/Test.cs. Because requests for .cs file extensions are blocked by the IIS server, the request never makes it to the tracd server and the user gets a 404.

Is there any way to add an exception to Request Filtering that allows all requests matching /trac/*? This would effectivly delegate Request Filtering to the target server farm.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Got it. I added the following to my applicationHost.config.

<location path="Default Web Site/trac">
  <system.webServer>
    <security>
      <requestFiltering>
        <fileExtensions>
          <clear />
        </fileExtensions>
        <hiddenSegments>
          <clear />
        </hiddenSegments>
      </requestFiltering>
    </security>
  </system.webServer>
</location>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.