T
T-1000
I have a website with a /Admin subdir I want to protect via a
signin.aspx page (which is in the Admin dir.)
This is the entire contents of the web.config file located at the root
of the website:
<?xml version="1.0"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings/>
<connectionStrings>
<add name="CunePressDB" connectionString="Data
Source=66.235.176.128;Initial Catalog=CunePress;User
ID=dotstorefront;Password=storefront"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<compilation debug="true"/>
<authentication mode="None"/>
</system.web>
<location path="~/Admin">
<system.web>
<authentication mode="Forms">
<forms name="CunePress" loginUrl="~/Admin/SignIn.aspx"
path="/Admin"/>
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
What am I missing? Everything located between the <location> tags used
to work, when the Admin directory was a seperate application process
running in IIS. I am attempting to roll the client and Admin side into
a single application that can be developed using the .Net development
server on a developer's computer.
signin.aspx page (which is in the Admin dir.)
This is the entire contents of the web.config file located at the root
of the website:
<?xml version="1.0"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings/>
<connectionStrings>
<add name="CunePressDB" connectionString="Data
Source=66.235.176.128;Initial Catalog=CunePress;User
ID=dotstorefront;Password=storefront"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<compilation debug="true"/>
<authentication mode="None"/>
</system.web>
<location path="~/Admin">
<system.web>
<authentication mode="Forms">
<forms name="CunePress" loginUrl="~/Admin/SignIn.aspx"
path="/Admin"/>
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
What am I missing? Everything located between the <location> tags used
to work, when the Admin directory was a seperate application process
running in IIS. I am attempting to roll the client and Admin side into
a single application that can be developed using the .Net development
server on a developer's computer.