Multiple Subdirectories with different login pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
<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
 
So I suppose the only way to share the images and js directories is to make
them virtual directories as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top