Here is my .config
<authentication mode="Forms">
<forms loginUrl="~/LogOn" path="/"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
When I do that on IIS7 it's ok, but on IIS6...
Under IIS7:
- Browse /Home/
- Redirect to /LogOn (because anonymous)
- Display /LogOn page
It's OK,
But under IIS6
- Browse /Home/
- Redirect to /LogOn (because anonymous)
- Can't display /LogOn page because anonymous :(
What is the solution?