Well, i've solved the problem. The problem was that the css style documents are in a subdirectories which user_2 didn't has the access. Adding the permission to user_2, pages are correctly displayed after BASIC authentication :)
2009/8/16 Gabriele Fatigati <g.fatig...@cineca.it>: > Hi Martin, > in the document above, > (http://jcp.org/aboutJava/communityprocess/pr/jsr315/index.html) > > i didn't found any reference to css style. > > 2009/8/15 Martin Gainty <mgai...@hotmail.com>: >> >> could you read the servlet 3.0 spec at >> http://jcp.org/aboutJava/communityprocess/pr/jsr315/index.html >> >> in the meanwhile could you display the following items >> web.xml >> user_1 and css >> user_2 and css >> >> molte grazie >> Martin Gainty >> ______________________________________________ >> Note de déni et de confidentialité >> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le >> destinataire prévu, nous te demandons avec bonté que pour satisfaire >> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie >> de ceci est interdite. Ce message sert à l'information seulement et n'aura >> pas n'importe quel effet légalement obligatoire. Étant donné que les email >> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter >> aucune responsabilité pour le contenu fourni. >> >> >> >> >>> Date: Sat, 15 Aug 2009 19:56:18 +0200 >>> Subject: Re: Tomcat subdirectories BASIC authentication >>> From: g.fatig...@cineca.it >>> To: users@tomcat.apache.org >>> >>> And very very strage, with user_1 pages has correct layout, with user 2 no! >>> >>> 2009/8/15 Gabriele Fatigati <g.fatig...@cineca.it>: >>> > Mm, >>> > there are css link in the source of the page. But i've checked and i >>> > think are correct. >>> > >>> > How can avoid this behaviour? >>> > >>> > 2009/8/15 Gabriele Fatigati <g.fatig...@cineca.it>: >>> >>> Bad reference to the css maybe? >>> >> >>> >> Yes, to the css. >>> >> >>> >> 2009/8/15 Mark Thomas <ma...@apache.org>: >>> >>> Gabriele Fatigati wrote: >>> >>>> Well, >>> >>>> now i can authenticate subdirectories. But for some strange reason, >>> >>>> web pages, after BASIC authentication has very bad layout! I attached >>> >>>> an example. >>> >>> >>> >>> Attachments are blocked on this list so no-one can see your example. >>> >>> >>> >>>> Why? >>> >>> >>> >>> Bad reference to the css maybe? >>> >>> >>> >>> Mark >>> >>> >>> >>>> >>> >>>> 2009/8/15 David Smith <d...@cornell.edu>: >>> >>>>> Mark Thomas wrote: >>> >>>>>> Gabriele Fatigati wrote: >>> >>>>>> >>> >>>>>>> I kow what is <url-pattern> tag , but simply i don't understand how >>> >>>>>>> i >>> >>>>>>> have to write security coinstraints. >>> >>>>>>> >>> >>>>>> But you clearly don't know what a context path is. Read the servlet >>> >>>>>> spec. It explains this. >>> >>>>>> >>> >>>>>> >>> >>>>>>> You told me: >>> >>>>>>> >>> >>>>>>> "you don't need to include the context path in the <url-pattern> >>> >>>>>>> elements" >>> >>>>>>> >>> >>>>>>> And i renew my question :), What i have to write in <url-pattern> in >>> >>>>>>> this specific case? >>> >>>>>>> >>> >>>>>> The servlet spec also explains how to write security constraints. >>> >>>>>> >>> >>>>>> Mark >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> --------------------------------------------------------------------- >>> >>>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> >>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>>>>> >>> >>>>>> >>> >>>>> May I add the servlet spec is a _very_ readable document -- nothing >>> >>>>> like >>> >>>>> the many RFCs that govern stuff like URLs and HTTP protocol. >>> >>>>> >>> >>>>> --David >>> >>>>> >>> >>>>> >>> >>>>> --------------------------------------------------------------------- >>> >>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> >>>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>>>> >>> >>>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> ------------------------------------------------------------------------ >>> >>>> >>> >>>> >>> >>>> --------------------------------------------------------------------- >>> >>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> >>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >>> >>> >>> >>> >>> --------------------------------------------------------------------- >>> >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >>> >>> >> >>> >> >>> >> >>> >> -- >>> >> Ing. Gabriele Fatigati >>> >> >>> >> Parallel programmer >>> >> >>> >> CINECA Systems & Tecnologies Department >>> >> >>> >> Supercomputing Group >>> >> >>> >> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy >>> >> >>> >> www.cineca.it Tel: +39 051 6171722 >>> >> >>> >> g.fatigati [AT] cineca.it >>> >> >>> > >>> > >>> > >>> > -- >>> > Ing. Gabriele Fatigati >>> > >>> > Parallel programmer >>> > >>> > CINECA Systems & Tecnologies Department >>> > >>> > Supercomputing Group >>> > >>> > Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy >>> > >>> > www.cineca.it Tel: +39 051 6171722 >>> > >>> > g.fatigati [AT] cineca.it >>> > >>> >>> >>> >>> -- >>> Ing. Gabriele Fatigati >>> >>> Parallel programmer >>> >>> CINECA Systems & Tecnologies Department >>> >>> Supercomputing Group >>> >>> Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy >>> >>> www.cineca.it Tel: +39 051 6171722 >>> >>> g.fatigati [AT] cineca.it >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >> >> _________________________________________________________________ >> Get your vacation photos on your phone! >> http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM > > > > -- > Ing. Gabriele Fatigati > > Parallel programmer > > CINECA Systems & Tecnologies Department > > Supercomputing Group > > Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy > > www.cineca.it Tel: +39 051 6171722 > > g.fatigati [AT] cineca.it > -- Ing. Gabriele Fatigati Parallel programmer CINECA Systems & Tecnologies Department Supercomputing Group Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy www.cineca.it Tel: +39 051 6171722 g.fatigati [AT] cineca.it --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org