Web.config <location> not redirecting



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.

.



Relevant Pages

  • Re: PF Admin tool & Administrative Rights
    ... Best regards, ... Visit my website: http://www.infinitec.de ... > Actually I am testing with our lab server and the Ex admin path is ... > I tried to update the security descriptor for the same path but getting ...
    (microsoft.public.exchange2000.development)
  • Re: Cooking Fanatics
    ... You cannot trust a dishonorable man like Wesley Williams. ... I just came across this website that is for us, ... Or is this SPAM for a commercial web site, ... Admin Address........ ...
    (rec.food.cooking)
  • Re: Layer 2 Trace
    ... Well yes and no it depends somewhat on your kit and if you have admin ... Audit your website security with Acunetix Web Vulnerability Scanner: ... Cross site scripting and other web attacks before hackers do! ...
    (Pen-Test)
  • Re: Windows 2003 security issue
    ... is it because of that particular file or website that I ... As it is, I can't download from any site, even ... >> enhanced security try uninstalling it for users and administrators if you ... >>> (with admin rights). ...
    (microsoft.public.windows.server.security)
  • Re: Web application security
    ... Ther is a link on the homepage called "Admin ... > Is this all safe....I am slightly uneasy about having the login on the ... > website and it could be hidden in a special link only given to admins - ...
    (microsoft.public.inetserver.asp.general)