[Mono-aspnet-list] Problem with location in Web.config
Anibol
anibol at terra.es
Thu May 28 05:13:51 EDT 2009
Fantastic job Marek!!! That's the power of the community.
Thanks
Marek Habersack-6 wrote:
>
> Ricardo Lopes wrote:
>> Probably because your login page is inside the protected folder?
> Fixed in revisions 134931 (trunk) and 134932 (2.4 branch). Fix will be
> part of Mono 2.4.2
>
> marek
>
>>
>> 2009/5/28 Anibol <anibol at terra.es <mailto:anibol at terra.es>>
>>
>>
>> Hi, i'm using the Vmware image from mono-project.com
>> <http://mono-project.com>, 2.4 i think. I get
>> Unauthorized 401 error when i try to access to acceso/default.aspx
>>
>>
>>
>>
>> Marek Habersack-6 wrote:
>> >
>> > 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?
>> >
>> > _______________________________________________
>> > Mono-aspnet-list mailing list
>> > Mono-aspnet-list at lists.ximian.com
>> <mailto:Mono-aspnet-list at lists.ximian.com>
>> > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>> >
>> >
>>
>> --
>> View this message in context:
>>
>> http://www.nabble.com/Problem-with-location-in-Web.config-tp23741862p23756193.html
>> Sent from the Mono - ASP.NET <http://ASP.NET> mailing list archive
>> at Nabble.com.
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> <mailto:Mono-aspnet-list at lists.ximian.com>
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>>
>>
>>
>>
>> --
>>
>> Ricardo Lopes
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mono-aspnet-list mailing list
>> Mono-aspnet-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
--
View this message in context: http://www.nabble.com/Problem-with-location-in-Web.config-tp23741862p23758117.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list
mailing list