Re: Multiple Subdirectories with different login pages
- From: Brock Allen <ballen@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 11:43:43 -0700
Yep -- a nested virtual directory under all of your applications' directories mapped to the same physical location works.
-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.
"Brock Allen" wrote:
<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/ballenOk 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
.
- References:
- Re: Multiple Subdirectories with different login pages
- From: Brian F
- Re: Multiple Subdirectories with different login pages
- Prev by Date: Error looking up webservice, in the test mode
- Next by Date: Re: Multiple Keyword Search using SQL PROC
- Previous by thread: Re: Multiple Subdirectories with different login pages
- Next by thread: ASPNET user on Windows 2003?
- Index(es):
Relevant Pages
|