W
www.MSmobiles.com
Hi!
I am using something like this in web.config :
<authentication mode="Forms">
<forms name=".MSMOBILES_COM___COOKIE"
loginUrl="login.aspx"
protection="All"
timeout="30"
path="/">
<credentials passwordFormat="Clear">
<user name="user1" password="password1"/>
</credentials>
</forms>
</authentication>
</authentication>
then, when I try to access some *.aspx page, for example:
myserver.com/kirk.aspx
I get redirection to:
myserver.com/login.aspx?ReturnUrl=%2fportal%2fdupa.aspx
and then everything is OK, but when try to access some other pages and
content for example:
myserver.com/test1.html
or
myservrc.com/test1.gif
..... then NO REDIRECTION takes place and the server allows access to this
content!!!!
How to force IIS to make rediredction also in case of static (i.e. not
*.aspx) content????
I am using something like this in web.config :
<authentication mode="Forms">
<forms name=".MSMOBILES_COM___COOKIE"
loginUrl="login.aspx"
protection="All"
timeout="30"
path="/">
<credentials passwordFormat="Clear">
<user name="user1" password="password1"/>
</credentials>
</forms>
</authentication>
</authentication>
then, when I try to access some *.aspx page, for example:
myserver.com/kirk.aspx
I get redirection to:
myserver.com/login.aspx?ReturnUrl=%2fportal%2fdupa.aspx
and then everything is OK, but when try to access some other pages and
content for example:
myserver.com/test1.html
or
myservrc.com/test1.gif
..... then NO REDIRECTION takes place and the server allows access to this
content!!!!
How to force IIS to make rediredction also in case of static (i.e. not
*.aspx) content????