Re: Multiple Subdirectories with different login pages



<authentication> can only be specified per application. If you want different authentication schemes for the child directories then you'll have to make them applications in IIS.

-Brock
DevelopMentor
http://staff.develop.com/ballen



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: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... > By this, I mean, usually, on the basic logon screen of a server, I see ... >>;) under the website in question, enabling only Basic authentication. ... and can use the local administrator account to successfully ...
    (microsoft.public.inetserver.iis.security)
  • Re: Strange IIS Server behavior
    ... Well what i ment was in IIS for this virtual directory, ... In the website internally, we have a login module which is ... Due to Server Configuration with No Authentication) ...
    (microsoft.public.inetserver.iis.security)
  • RE: Windows Authentication on iis new website not working (fine on
    ... Is the server a MS or a SA server? ... If authentication baffles you ... Trying to move the contents on the default website onto a new website ... Full IIS running on a domain network. ...
    (microsoft.public.inetserver.iis.security)
  • RE: Using MySites with Forms Authentication mode?
    ... I set up a website for the front end portal called OFWI. ... left ofwispp as windows authentication. ... Membership Providers and after that i went to central administration and set ... Both have the same ASPNet Mebership provider. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: IIS 6.0: Windows authentication across virtual servers
    ... HTTP is a stateless protocol (i.e. ... Authentication is state ... State with one website has no automatic relevance to any other server even ...
    (microsoft.public.windows.server.security)