Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Problem with WindowsAuthentication set "on" on IIS application  #10

Description

@mbrit

We've found a problem whereby if we have an IIS application where WindowsAuthentication is enabled, any redirected URLs do not work.

e.g. if we have a rule whereby /Customers --> /ViewCustomers.aspx, if the user browses to /Customers it keeps prompting for credentials. (If the user browses to /ViewCustomers.aspx it is fine.)

What we've found is that if we change line 142 in RewriterModule such that the call to TransferRequest is just this:

context.Server.TransferRequest(rewrittenUrlPath);

...it works fine. Also if we use the override where JUST preserveForm is set True, it works OK. It seems to be something to do with the method or header arguments being passed, although we're not sure what.

At the moment we're using a modified version of the library with our "fix" in it, but would prefer to keep using your supported version. :-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions