M
Mr.Magic
I have the following in my web.config file:
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="Users"
connectionString="server=xxx.xxx.xxx.xxx;uid=xxxxxxxxxx;pwd=xxxxxxxxxxxxx;DATABASE=xxxxxxxx;"
/>
</connectionStrings>
<system.web>
<sessionState mode="SQLServer" sqlConnectionString="data
source=xxx.xxx.xxx.xxx;user id=xxxxxxxxx; password=xxxxxxxxx" />
<authentication mode="Forms">
<forms name="LoginForm" loginUrl="Login.aspx" protection="All" path="/"
timeout="30" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</configuration>
I'm trying to get it to always go to the login page if somebody puts in a
url under the site.
But the system will always let you at any file.
What am I doing wrong? Is there something I need to do in IIS to make this
work?
I have other sites on the same server that working fine (I seperate the
sites by using the header name in the setup for the TCP/IP address.)
Any help would be greatly appreciated.
TIA - Jeff.
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="Users"
connectionString="server=xxx.xxx.xxx.xxx;uid=xxxxxxxxxx;pwd=xxxxxxxxxxxxx;DATABASE=xxxxxxxx;"
/>
</connectionStrings>
<system.web>
<sessionState mode="SQLServer" sqlConnectionString="data
source=xxx.xxx.xxx.xxx;user id=xxxxxxxxx; password=xxxxxxxxx" />
<authentication mode="Forms">
<forms name="LoginForm" loginUrl="Login.aspx" protection="All" path="/"
timeout="30" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</configuration>
I'm trying to get it to always go to the login page if somebody puts in a
url under the site.
But the system will always let you at any file.
What am I doing wrong? Is there something I need to do in IIS to make this
work?
I have other sites on the same server that working fine (I seperate the
sites by using the header name in the setup for the TCP/IP address.)
Any help would be greatly appreciated.
TIA - Jeff.