Multiple Subdirectories with different login pages



Ok here goes:

WEBSITE main directory allows anonymous users fine.
SITEA, SITEB, and SITEC are all subdirectories under WEBSITE that refer to
graphics and javascript in the main virtual directory. So we have the
following structure.
/WEBSITE
/WEBSITE/images
/WEBSITE/js
/WEBSITE/SITEA/.....
/WEBSITE/SITEB/.....
/WEBSiTE/SITEC/.....

Now sites A,B, and C will all have seperate loging forms using custom
authentication but I want the web.config to control access so that anyone
attempting to go directly to a page in one of the sites will be redirected
back to the login.aspx.... /SITEA/login.aspx, /SITEB/login.aspx, or
/SITEC/login.aspx.

I cannot place a seperate web.config in the the subdirectories with their
own authentication xml elements...

HELP!


Brian



.



Relevant Pages

  • Re: Multiple Subdirectories with different login pages
    ... If you want different authentication schemes for the child directories then you'll have to make them applications in IIS. ... WEBSITE main directory allows anonymous users fine. ... Now sites A,B, and C will all have seperate loging forms using custom ... I cannot place a seperate web.config in the the subdirectories with ...
    (microsoft.public.dotnet.framework.aspnet)
  • GetDirectories UNC path - Acces Denied
    ... The website have to show subdirectories on a network drive. ... string[] directories; ... Impersonate is set to true ... When i try the code from the localhost, i receive the subdirectories. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: subdirectory is using old version of .net
    ... i ran a test and reset the default website to use 1.0 ... all the subdirectories then inherit and start using 1.0 except for one ... subdirectory thats stuck using 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Compiler Error Message CS0246
    ... local disk, and copy *that* directory, and its subdirectories to the production server. ... Make sure you select the directory you want to publish the website to, ... you can copy the directory's contents to your production server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • wget
    ... subdirectories in a website. ... I can mirror my website however it does not ... grab all of the folders which contain data that the links go to. ...
    (Fedora)