Re: Tomcat6 - Context - aliases

2012-04-10 Thread Léa Massiot
@André Warnier: Thank you. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4762217.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Tomcat6 - Context - aliases

2012-04-10 Thread André Warnier
Léa Massiot wrote: ... If any of you two can post the code of the file-fetching servlet, it would be great. http://lmgtfy.com/?q=java+file+download+servlet :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: Tomcat6 - Context - aliases

2012-04-10 Thread Léa Massiot
ve been looking for from the beginning. To @André Warnier: Thank you for the two references "Automatic Application Deployment" and "Single Sign On". If any of you two can post the code of the file-fetching servlet, it would be great. Thanks and best regards. -- View this messa

Re: Tomcat6 - Context - aliases

2012-04-09 Thread André Warnier
Léa Massiot wrote: @André Warnier: Thank you for your detailed answer. As of your objections: 1) We don't agree with each other. I *DO* care about what URLs look like: a) in general, b) for some reasons related to the user's speaking language, c) for search engines, d) ... One cannot argue

Re: Tomcat6 - Context - aliases

2012-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Léa, On 4/9/12 6:12 AM, Léa Massiot wrote: > 1) We don't agree with each other. I *DO* care about what URLs look > like: a) in general, b) for some reasons related to the user's > speaking language, c) for search engines, d) ... The URL of a link > ca

Re: Tomcat6 - Context - aliases

2012-04-09 Thread Léa Massiot
I edited my previous post at 1:14 PM 2012/04/09. Thanks. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4715649.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat6 - Context - aliases

2012-04-09 Thread Léa Massiot
ow to do a cross context authentication you can point me to? Thank you for helping and best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4715558.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

Re: Tomcat6 - Context - aliases

2012-04-07 Thread André Warnier
André Warnier wrote: Léa, Léa Massiot wrote: ... Actually I realized that even with the previous mechanism I used (using the "aliases" attribute of the "Context" element of the "w/WEB-INF/context.xml" file), I could directly retrieve a resource by typing its exact URL in a browser and witho

Re: Tomcat6 - Context - aliases

2012-04-06 Thread André Warnier
Léa, Léa Massiot wrote: ... Actually I realized that even with the previous mechanism I used (using the "aliases" attribute of the "Context" element of the "w/WEB-INF/context.xml" file), I could directly retrieve a resource by typing its exact URL in a browser and without having to identify in

Re: Tomcat6 - Context - aliases

2012-04-06 Thread Léa Massiot
he webapp. > To the Webapp "w", yes. Thank you for your comments and your interest. Best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4692232.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat6 - Context - aliases

2012-04-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Léa, On 4/4/12 2:28 PM, Léa Massiot wrote: > < Context path="/an_alias_1" docBase="/home/d1" crossContext="true" > / > Do you really need crossContext="true" here? > - This Configuration Descriptor is automatically deployed once > saved. > > - I su

Re: Tomcat6 - Context - aliases

2012-04-05 Thread Léa Massiot
ble.com/Tomcat6-Context-aliases-tp4678430p4689256.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat6 - Context - aliases

2012-04-04 Thread Konstantin Kolinko
2012/4/4 Léa Massiot : > Ok. So, I found a solution, if I can call that a solution. > > - I created a file "an_alias_1.xml" in "/etc/tomcat6/Catalina/localhost/" > (the OS being Debian Squeeze). > > - Here are the contents of this "an_alias_1.xml" file: > < Context path="/an_alias_1" docBase="/home

RE: Tomcat6 - Context - aliases

2012-04-04 Thread Caldarale, Charles R
> From: Léa Massiot [mailto:lmhe...@orange.fr] > Subject: Re: Tomcat6 - Context - aliases > Ok. So, I found a solution, if I can call that a solution. How about a much easier solution: install Tomcat 7. Easier to configure, faster, and more secure. Stop making your life difficult.

Re: Tomcat6 - Context - aliases

2012-04-04 Thread Léa Massiot
The resources which are in "/home/d1" are available directly by typing the following URL in a browser: http://:8080/an_alias_1/file_< i>.txt and not compulsorily through the Webapp "w". Best regards. Ref. - a useful thread on stackoverflow: http://stackoverflow.com/q

Re: Tomcat6 - Context - aliases

2012-04-04 Thread Léa Massiot
bsolutely no idea how to "implement" the same mechanism using a properties file as you suggest... Would you be so very kind to to explain a bit more? Thank you and best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430

Re: Tomcat6 - Context - aliases

2012-04-03 Thread André Warnier
Léa Massiot wrote: Thank you all three for your last answers. André Warnier wrote this might help, in a container- and version-independent way : http://jaitechwriteups.blogspot.de/2007/01/how-to-read-properties-file-in-web.html I'm sorry, no offence... but I don't see how... :/ No offence t

Re: Tomcat6 - Context - aliases

2012-04-03 Thread Léa Massiot
is to be able to isolate ressources from the Webapp itself and yet being able to refer to them from inside the Webapp. Thank you for helping and best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4681421.html Sent from the Tomcat - U

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Léa, On 4/2/12 6:45 AM, Léa Massiot wrote: > Konstantin Kolinko wrote >> Install Tomcat 7. Read RUNNING.txt for a start. > > I prefer not to. As I wrote, "Tomcat7" is not packaged yet in > "Debian" stable "Squeeze". Nor will it. Debian has a fairly

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Pid
e in: tomcat/conf/Catalina/$hostname/$alias.xml p > I created a "META-INF/context.xml": > > > ="> > > > Of course, it works as expected with "Tomcat7". > > I "just" want to do something equivalent which works with "Tomcat6".

Re: Tomcat6 - Context - aliases

2012-04-02 Thread André Warnier
Léa Massiot wrote: Pid * wrote Either they did not, or they selected an alternative based on their use-case. I'm sure they did. You'll see below, my requirements are basic. Pid * wrote What is your exact requirement? - Users upload files to the server running Tomcat. - The Webapp stores the

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Léa Massiot
t;: ="> Of course, it works as expected with "Tomcat7". I "just" want to do something equivalent which works with "Tomcat6". Thank you for helping me and best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-a

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Pid
ive based on their use-case. What is your exact requirement? p > -- > View this message in context: > http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4679060.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > -

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Léa Massiot
Thank you for your advice. And how did people do to declare aliases before the "aliases" attribute of the "Context" element was introduced in "Tomcat7"? -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4679060.ht

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Daniel Mikusa
uncements regarding security advisories and version updates. Dan > I there any other workaround... I mean... I guess even before > "Tomcat7", > people needed to declare such "aliases". > > Thank you for your help and best regards. > > -- > View this mes

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Léa Massiot
uch "aliases". Thank you for your help and best regards. -- View this message in context: http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678430p4678513.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Konstantin Kolinko
2012/4/2 Léa Massiot : > > I've been struggling lately with the "aliases" attribute of the "Context" > element of the "context.xml" file. > I tested a Webapp with "Tomcat7" and it appears to work properly. > As a "Debian" user, "Tomcat7" is not yet packaged in the current stable > release "Squeeze"

Re: Tomcat6 - Context - aliases

2012-04-02 Thread Teppei Yamada
"aliases" attribute is not available. > >1) Can you confirm it is not? >2) How can I workaround this problem? > >Thanks for helping. > >-- >View this message in context: >http://tomcat.10.n6.nabble.com/Tomcat6-Context-aliases-tp4678428p4678428.h >tml >S

Tomcat6 - Context - aliases

2012-04-02 Thread Léa Massiot
c/config/context.html), it looks like the "Context" element "aliases" attribute is not available. 1) Can you confirm it is not? 2) How can I workaround this problem? Thanks for helping. -- View this message in context: http://tomcat.1