Hi,
and what is the url your are calling?
In general the location is relative to the web.config file.
Here is an example of code:
<configuration>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<location path="Default.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
</configuration>
Also, is not it possible that rewriting is executed correctly and problem comes from the destination page which is redirected to the login page?
Best regards,
Ivana Tomanickova