Web.Config

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

Guest

Hello:

Ive got a page name with an "@" in it present.
Ex. (e-mail address removed)
Ive defined the below in the Web.Config file. Results.. it does not work.(
Doesnt send me to the login page .. for authentication purposes.. Also when i
invoke any page in the app.. it errors out )
I replaced the @ with its UTF-8 equivalent. Still did not. Pls do advise,
how to get it to work. Thank you.

<location path="(e-mail address removed)">
<system.web>
<authorization>
<allow roles="UserAdmin" />
<deny users="*" />
</authorization>
</system.web>
</location>
 
Robin said:
Hello:

Ive got a page name with an "@" in it present.
Ex. (e-mail address removed)
Ive defined the below in the Web.Config file. Results.. it does not work.(
Doesnt send me to the login page .. for authentication purposes.. Also when i
invoke any page in the app.. it errors out )
I replaced the @ with its UTF-8 equivalent. Still did not. Pls do advise,
how to get it to work. Thank you.

<location path="(e-mail address removed)">
<system.web>
<authorization>
<allow roles="UserAdmin" />
<deny users="*" />
</authorization>
</system.web>
</location>

How about url encoding it into %40?
 
Back
Top