0

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.

0

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>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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