Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > location path in Web.config

Reply
Thread Tools

location path in Web.config

 
 
Patrick Olurotimi Ige
Guest
Posts: n/a
 
      05-12-2005
Using this location path below it relates only to the ADMINSITE
folder/Directory only.
Which allows only Admin Groups to the "AdminSite" directory.

But if i try using ADMIN\AdminSite in the local path below it seems not
to work

Where ADMINSITE folder is under ADMIN

Does <location path="ADMIN\AdminSite"> work?


<location path="AdminSite">
<system.web>
<customErrors mode="Off" />
<authorization>
<allow roles="Admin">
<deny users="*" />
</authorization>
</system.web>
</location>

*** Sent via Developersdex http://www.developersdex.com ***
 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-12-2005
Yes it does work, but the path seperator should be a forward slash: "/"

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



> Using this location path below it relates only to the ADMINSITE
> folder/Directory only.
> Which allows only Admin Groups to the "AdminSite" directory.
> But if i try using ADMIN\AdminSite in the local path below it seems
> not to work
>
> Where ADMINSITE folder is under ADMIN
>
> Does <location path="ADMIN\AdminSite"> work?
>
> <location path="AdminSite">
> <system.web>
> <customErrors mode="Off" />
> <authorization>
> <allow roles="Admin">
> <deny users="*" />
> </authorization>
> </system.web>
> </location>
> *** Sent via Developersdex http://www.developersdex.com ***
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Location, location, location =?Utf-8?B?VHJhY2V5?= Wireless Networking 2 02-17-2007 08:37 PM
NAT location and VPN termination location K.J. 44 Cisco 0 09-12-2006 02:17 PM
after an image is moved to a new location, how to delete the image at the old location? zxo102 Python 0 08-01-2006 04:58 PM
How to trick a page into running at a location different from it'sphysical location? Luke Dalessandro ASP .Net 0 01-15-2006 05:59 AM
difference between location.href and window.location.href? saiho.yuen Javascript 3 09-14-2004 06:51 PM



Advertisments