Re: <location> multiple file question
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 22 Oct 2006 04:53:32 +0000 (UTC)
you can only specify files or a directory. put them all into a single directory.
Also be aware that htm files will only get affected by forms auth if you have mapped them to the ASP.NET runtime.
---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
Hi;
I need to have the following in Web.config:
<location path="help/login*.htm">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
But it does not like the * in login*.htm. We have this as the help
files for the login page - but we have login.htm, login-en.htm,
login-en-us.htm, etc. 28 so far and growing. Do we need to list each
languages help as a seperate <location> set of nodes?
If so this is a giant PITA. (Microsoft still seems to not think
through globalization issues that well.)
Cubicle Wars - http://www.windwardreports.com/film.htm
.
- Follow-Ups:
- Re: <location> multiple file question
- From: Steven Cheng[MSFT]
- Re: <location> multiple file question
- Prev by Date: Re: asp.net postbacks don't work after leaving browser open all night w/ windows integrated authentication
- Next by Date: Re: Roles.IsUserInRole != Context.User.IsInRole
- Previous by thread: Re: Roles.IsUserInRole != Context.User.IsInRole
- Next by thread: Re: <location> multiple file question
- Index(es):