Re: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Gabriele Fatigati
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

Re: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Gabriele Fatigati
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

RE: Tomcat subdirectories BASIC authentication

2009-08-16 Thread Martin Gainty
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: Sun, 16 Aug 2009 10:59:22 +0200 Subject: Re: Tomcat subdirectories BASIC authentication From: g.fatig...@cineca.it

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: Wehere is a mistake? You don't need to include the context path in the url-pattern elements. Is it possible to do this in Tomcat 5.5? This is possible in all Tomcat versions. Mark - To

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Hi Mark, thanks for your reply. But i didn't understarnd what you said. Where i have to define that user_2 can access only in subdir_1? Can you give me an example? 2009/8/15 Mark Thomas ma...@apache.org: Gabriele Fatigati wrote: Wehere is a mistake? You don't need to include the context path

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: Hi Mark, thanks for your reply. But i didn't understarnd what you said. Where i have to define that user_2 can access only in subdir_1? Can you give me an example? If you don't understand terms I used, you really need to read the servlet specification. Mark

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
I kow what is url-pattern tag , but simply i don't understand how i have to write security coinstraints. 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? 2009/8/15

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
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

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
@tomcat.apache.org Subject: Re: Tomcat subdirectories BASIC authentication 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

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Martin Gainty wrote: As we are learning There are some things that Tomcat can do and some things Tomcat cannot do There are may things you can't do with Tomcat. However, Tomcat can do this. if you want to look at how other webappservers accomplish url-pattern and security-constraint read

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
To: users@tomcat.apache.org Subject: Re: Tomcat subdirectories BASIC authentication Martin Gainty wrote: As we are learning There are some things that Tomcat can do and some things Tomcat cannot do There are may things you can't do with Tomcat. However, Tomcat can do this. if you

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Caldarale, Charles R
From: gabriele.fatig...@gmail.com [mailto:gabriele.fatig...@gmail.com] On Behalf Of Gabriele Fatigati Subject: Re: Tomcat subdirectories BASIC authentication I kow what is url-pattern tag , but simply i don't understand how i have to write security coinstraints. As Mark said, you must

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Martin Gainty wrote: if the proposed solution is not conformant to spec There is a spec compliant solution to the OPs question... or is not a TC solution ...and Tomcat supports that spec compliant solution. yelling at the op or anyone else Whose yelling? I don't see any shouting on this

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
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

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Well, now i can authenticate subdirectories. But for some strange reason, web pages, after BASIC authentication has very bad layout! I attached an example. Why? 2009/8/15 David Smith d...@cornell.edu: Mark Thomas wrote: Gabriele Fatigati wrote: I kow what is url-pattern tag , but simply i

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
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?

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
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

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
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:

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
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

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: And very very strage, with user_1 pages has correct layout, with user 2 no! I think you need to read this. http://catb.org/~esr/faqs/smart-questions.html Mark 2009/8/15 Gabriele Fatigati g.fatig...@cineca.it: Mm, there are css link in the source of the page. But

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Gabriele Fatigati
Dear Marc, My question was referred to css problem.. After BASIC authentication, sometimes page layout is wrong. So, how can avoid this? Your suggested me that maybe there are wrong css link in source pages. I've checked and are correct. 2009/8/15 Mark Thomas ma...@apache.org: Gabriele Fatigati

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Mark Thomas
Gabriele Fatigati wrote: Dear Marc, My question was referred to css problem.. After BASIC authentication, sometimes page layout is wrong. So, how can avoid this? Your suggested me that maybe there are wrong css link in source pages. I've checked and are correct. Clearly, something is not

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Martin Gainty
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

RE: Tomcat subdirectories BASIC authentication

2009-08-15 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Tomcat subdirectories BASIC authentication could you read the servlet 3.0 spec at http://jcp.org/aboutJava/communityprocess/pr/jsr315/index.html The servlet 3.0 spec is not appropriate; it's not approved and not implemented

Re: Tomcat subdirectories BASIC authentication

2009-08-15 Thread David Smith
Try installing Firebug on an install of Firefox and watch Firebug's Net tab. You'll see all the requests, response codes and more as the page loads. Should be able to figure out what's happening in short order. --David Gabriele Fatigati wrote: And very very strage, with user_1 pages has