[Mono-aspnet-list] Problem with location in Web.config
Marek Habersack
grendel at twistedcode.net
Wed May 27 15:58:02 EDT 2009
Anibol wrote:
Hey,
> Hi, i want to stablish security on one of the subfolders of my application.
> The application security configuration runs fine under windows server but
> under Linux/Mono doesn't do it. I've introduced this configuration inside my
> web.config:
Which Mono version?
marek
>
> <configuration>
> ......
> <system.web>
> <authentication mode="Forms">
> <forms loginUrl="acceso/default.aspx" name=".DocuWeb_Authentication"
> timeout="525600"></forms>
> </authentication>
> <authorization>
> <allow users="*"/>
> </authorization>
> </system.web>
> ......
> <location path="acceso">
> <system.web>
> <customErrors mode="Off"/>
> <authorization>
> <deny users="?"/>
> </authorization>
> </system.web>
> </location>
> </configuration>
>
> The folder tree is:
>
> /(root folder where is my application)
> |_ acceso/ (folder that i want to protect with user/pass)
>
> Where is the error? Can you help me?
More information about the Mono-aspnet-list
mailing list