Re: Multi-level context starting at ROOT

2009-11-04 Thread Maurice Yarrow
://www.domain.com/context/multi-level-subcontext) Maurice Caldarale, Charles R wrote: From: Maurice Yarrow [mailto:maurice.yar...@comcast.net] Subject: Re: Multi-level context starting at ROOT My use-case is embedding meshcms inside my primary web app and in a way that they can both share the same session

Re: Multi-level context starting at ROOT

2009-11-04 Thread Maurice Yarrow
functionally the same as multilevelcontext.xml. What use case do you have for such a thing? --David Maurice Yarrow wrote: Hello Tomcat Users Grp and in particular, Pid and Konstantin Kolinko: Thanks for your replies. However, I evidently did not clearly state the problem I am having: I can define the follo

Re: Multi-level context starting at ROOT

2009-11-04 Thread Maurice Yarrow
the (apparently) unsolved threads in the Spring users group, and appears to an issue only with the advent of the "#" hash sign instead of the "_" underscore sign formerly used in earlier Tomcats (I am using 6.0.18). Maurice Yarrow Pid wrote: On 04/11/2009 11:13, Maurice Yarrow

Multi-level context starting at ROOT

2009-11-04 Thread Maurice Yarrow
/multi-level-sub-context/servletname as well as the above http://www.domain.com/servletname So: question is: Can this be done ? How is it configured ? What are the respective context xml files named ? Thanks Maurice Yarrow

Re: Tomcat5.5.x cannot run on Java6

2006-12-11 Thread Maurice Yarrow
Eric Chow wrote: Hello, How can run Tomcat5.5 in Java6 ? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
Rainer (and also, Martin) Thanks, gentlemen. Maurice Rainer Jung wrote: ... for the quotes simply use the predefined xml entity: " Maurice Yarrow schrieb: Hello, again, Tomcat community: I found the answer to my own question below: Use: pattern="%{X-Forwarded-for}i %

Re: obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
zantine combination of single quote, double quote, backslashes is required for this to be acceptable to the serverl.xml XML readin ? (I tried a whole bunch of different combinations but all error'ed out on startup.) Maurice Maurice Yarrow wrote: Hello Tomcat community I have tomcat (

obtain X-Forwarded-for: client-IP-address in access logs

2006-11-03 Thread Maurice Yarrow
simpler way ? Am I unaware of a direct way to do this ? Maurice Yarrow - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat Security

2006-10-30 Thread Maurice Yarrow
n for helping me consider the options for dealing with this kind of behavior. Maurice Yarrow Caldarale, Charles R wrote: From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Security BUT: the finest granularity for what can be accessed in this mechanism is by servlet, not by the path

Re: Tomcat Security

2006-10-29 Thread Maurice Yarrow
me to this possibility. It was enlightening. Maurice Yarrow Christopher Schultz wrote: Maurice, Maurice Yarrow wrote: So what I would like to know how to do is how to programmatically bypass web.xml-based authorization and impose this authorization on a access-case-by-case but take advanta

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chuck, Chris (Pretty much) here are the rules: The owner of a gallery can set its permission to public or passwd or private. If passwd, the owner specifies (i.e., sets) a gallery-specific password. The owner can change this anytime they like. Additionally, owners must (of course) authenticate

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chris, Chuck Yes, Chris: the below is the case exactly: (Actually, galleries - and consequently their included images and documents are authenticated, not specific images.) So what I would like to know how to do is how to programmatically bypass web.xml-based authorization and impose this author

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
Chris Yes, the way my image server system (if I can call it such) works is pretty much exactly what you are suggesting. This issue, for me at least, is in the past-tense - i.e., already working code. And yes, as I say above, the model I devised is pretty much what you suggested. Maurice

Re: Tomcat Security

2006-10-28 Thread Maurice Yarrow
family only. This pw specific to these views) private: (only you, the owner, have access - so only your login permits you to see these views) Presumably, most views are public, but this has to be the owner's decision, no ? Maurice Y

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
n for Maurice: why are you trying to protect your images? Do you want to stop people from ripping them off from your site? It's not my call, but the customer's. Maurice Christopher Schultz wrote: Chuck, Caldarale, Charles R wrote: From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Subj

Re: Tomcat Security

2006-10-27 Thread Maurice Yarrow
hing. I.e., the visible URL does not actually point to the file. Any thoughts ? Maurice Yarrow Caldarale, Charles R wrote: From: PraDz [mailto:[EMAIL PROTECTED] Subject: Tomcat Security How do i restrict users from entering the image/text files path directly in the browser. Instead

apache/mod_jk <--> tomcat versus pound (lb) <--> tomcat/apache

2006-10-16 Thread Maurice Yarrow
found zero (0) security issues. Of course, I had previously secured the apache and tomcat servers separately up to but not including running in a chroot'd jail.) Conclusion: I certainly hope others have less complicated requirements. Maurice Yarrow --

Re: Connecting Apache 2.2 to Tomcat 5.0 using mod_jk

2006-10-16 Thread Maurice Yarrow
thing in between two other things can only make a process slower, but "apparency" is important on the web.) So the question really is: Is apache fronting tomcat via mod_jk apparently fast ? (to your taste and needs, of course). Maurice Yarrow Christopher Schultz wrote: Barak,

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
Hello, again, Hassan I'd like to ask a couple of questions about your | tomcat httpd <--> mod_proxy_ajp <===> | tomcat | tomcat setup. And the reason that I'm intere

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
tps page transition) Maurice Yarrow The loss of session is due to a combination of things, namely the fact that I'm using mod_rewrite in order to add to and remove elements from the url and the way that Tomcat binds sessions to a given context. I wanted to filter out the app path infor

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
pound. Unbelieveable, the lengths I will go to get what I want... Maurice Hassan Schroeder wrote: On 9/25/06, Maurice Yarrow <[EMAIL PROTECTED]> wrote: And, fronting with Apache 2.0, and using mod_proxy, I just had one heck of a time getting this to work right. I used httpd O

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
tions, and across http->https page transition) Maurice Yarrow Hassan Schroeder wrote: On 9/25/06, Darren Hall <[EMAIL PROTECTED]> wrote: ... The client does not want to see urls with an identifier on the end of them (i.e. www.abcdomain.com/abc), yet I need the identifier to c

Re: New session PER REQUEST

2006-09-23 Thread Maurice Yarrow
ld have been written "I can't, of course, tell you why you are not seeing persistent session id's. However, I believe the above shows that PERSISTENCE is normal for my webapp." (Case of ye olde dangling participle, or something like that...) Maurice Maurice Yarrow wro

Re: New session PER REQUEST

2006-09-23 Thread Maurice Yarrow
- an artifact of the security specification in J2EE). Maurice Yarrow Bob Hall wrote: --- Darren Hall <[EMAIL PROTECTED]> wrote: Peter, You are correct. When hitting Tomcat directly, the session remains intact. When using mod_proxy to forward requests to Apache the session is lost. Is th

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-12 Thread Maurice Yarrow
tions under which this occurred.) Maurice Yarrow Propes, Barry L wrote: what about getRemoteHost()? -Original Message- From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 5:30 PM To: Tomcat Users List Subject: Re: Session hijacking with Tomcat/Myfaces - unable t

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-10 Thread Maurice Yarrow
http/https. Maurice Yarrow Long wrote: I can also imagine this company gives employees the go-a-head and hijack each others session. It would also reward the idiot(s) that can do it best with double pay... Your imaginary company example doesn't really happen within a real company, does i

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-10 Thread Maurice Yarrow
ambiguity to use this approach, even as addt'l metric. One could however assume validity of positives but ignore false negatives, i.e., if IP in conflict with orig, assume man-in-middle attack, but if IP agrees, must rely on other metrics to determine possible jeopardy. Maurice Yarrow David

Re: Password retries

2006-07-28 Thread Maurice Yarrow
plying all their cpu resources to a common set of targets. Now that their attack tools have had connection- refused after 5 attempts, their tool has struck my address off their list as being non-fruitful. Just a conjecture, anyway. Maurice Yarrow Christopher Schultz wrote: Simon, Has anyon

Re: How to run EJB in Tomcat itself ?

2006-07-28 Thread Maurice Yarrow
a decent product and provides a good interface between the Java obj's and the beans. You simply write your beans and your sql, run a tool of theirs on this, and it creates a bean jar and configuration file with the sql embedded in it. Maurice Yarrow Raju Balugu wrote: As for my knowledge ,T

Re: mod_jk vs. mod_proxy_ajp

2006-07-22 Thread Maurice Yarrow
) the specialized connectors such as mod_jk are about 1.5 times the speed of mod_proxy. This speed differential may be a consequential performance factor for some, but for our needs, the simplicity of mod_proxy usage is a major factor. Maurice Yarrow Greg Gamble wrote: On Fri, Jul 21, 2006 at 05:48

Re: file upload speed.

2006-06-22 Thread Maurice Yarrow
Sorry, Tomcat users - just a correction to technical wording: In previous, meant: "asymmetric " configuration of total bi-directional bandwidth Maurice Maurice Yarrow wrote: Hello Tomcat users I am using TC 5.0.28 on a machine with an AMD Athlon 3000+ (not particularly strong,

Re: file upload speed.

2006-06-22 Thread Maurice Yarrow
ter all. (I guess as Point-to-point becomes more popular, this will change.) I don't know if any of this helps, but I thought I would mention all this to see if it gives any perspective on the situation. Maurice Yarrow Leon Rosenberg wrote: So you effectively measure the ability of tomcat

Re: more trouble with 5.5.16+

2006-04-19 Thread Maurice Yarrow
. Is 5.5.15 still available somewhere ? Maurice Yarrow Corey Kaiser wrote: I suppose I meant SE Linux in my last question. Sorry for the confusion. -corey -Original Message- From: Corey Kaiser [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 10:27 AM To: 'users@tomcat.

Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Maurice Yarrow
tcstart.sh In addition, there is information included also about "chroot jail", as the author says "for the truly paranoid". Maurice Yarrow Oded Arbel wrote: The most important reason that I use an Apache frontend for tomcat, which is probably not relevant to the origin

Re: MultipartRequest problem

2005-12-16 Thread Maurice Yarrow
Note also: RFC1867 (html form upload) has detailed specs for multipart upload Maurice Yarrow Franklin Phan wrote: I have an old servlet that I need to recompile but cannot because it references MultipartRequest class. The servlet imports the following packages: import java.io.*; impor

Re: filter-mapping to tomcat DefaultServlet

2005-11-05 Thread Maurice Yarrow
to..." Anyhow, I should probably try this again, just to be sure. (For your info: FedoraCore1/tomcat 5.0.28/j2sdk 1.4.2_05) Thanks Maurice Hassan Schroeder wrote: Maurice Yarrow wrote: I was able to successfully use a filter to map to another servlet in my web app. However, I wa

filter-mapping to tomcat DefaultServlet

2005-11-05 Thread Maurice Yarrow
ervlet. Neither worked. ImageRequestFilter getimg.servlets.ImageRequestFilter ImageRequestFilter /ImageRequest/* ImageRequestFilter default Is there some way to do this (without using a RequestDispatcher.forward(...) ) ?

Re: static server implementation?

2005-10-29 Thread Maurice Yarrow
ite all this just to begin to give you a feeling for how complex this issue of caching of images really seems to be. Evidently, many factors. Thanks again for the tips that you sent. I will try everything. Maurice Yarrow David Rees wrote: On 10/27/05, Maurice Yarrow <[EMAIL PROTECTED]&

Re: static server implementation?

2005-10-27 Thread Maurice Yarrow
Hello Dave (For Internet Explorer:) Do you happen to know which are the "right headers" to set, especially for images ?? If not, maybe you could point me to a good source of info for caching rules for IE. Maurice David Rees wrote: On 10/27/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: I've

Re: static server implementation?

2005-10-27 Thread Maurice Yarrow
Leon Thanks for mentioning these items. By the way, I liked taking in the 360 views. Maurice Leon Rosenberg wrote: Maybe I'm missing the point completely, but why not MD5 encode the path to your image along with a timestamp, how long this link should be valid? I' used this several times, dec

Re: static server implementation?

2005-10-27 Thread Maurice Yarrow
nse will change that. Otherwise, a simple servlet should be able to do what you are asking without a problem and without all the forwarding/redirecting/request wrapping complexity. --David Maurice Yarrow wrote: Hello Charles Caldarale, Charles R wrote: > "Why wasn't Tomcat&

Re: static server implementation?

2005-10-27 Thread Maurice Yarrow
index.html in all directories in the image tree, or anyone can look at the image tree. Tomcat, however, is real good about not letting anyone see above the /usr/myPhotos/Thumbs level. Maurice Yarrow John Laughton wrote: The problem with the servlet is sandboxing If you try to refer (href) t

Re: static server implementation?

2005-10-27 Thread Maurice Yarrow
the http://tuckey.org/urlrewrite/ module, and I am looking into that. Anyhow, I'll keep trying different ideas until something works. I'm nearly masochistically persistant... But any suggestions would be greatly appreciated! Maurice Yarrow Caldarale, Charles R wrote: From: John Laug

Re: tomcat 5 combined http and https, same session

2005-10-25 Thread Maurice Yarrow
require that the target remain anonymous. Thanks again Maurice Hassan Schroeder wrote: Maurice Yarrow wrote: I'm also interested in this issue of http(s) switching. Could you possibly put up an example of this filter? Sure: <http://webtuitive.com/samples/java/HttpRedirectorFil

Re: tomcat 5 combined http and https, same session

2005-10-24 Thread Maurice Yarrow
Hello Hassan I'm also interested in this issue of http(s) switching. Could you possibly put up an example of this filter? Maurice Yarrow Hassan Schroeder wrote: Rob wrote: to run https for some pages in my webapp, and http for other pages, using the same session. It's working w

Re: hacking the tomcat DefaultServlet

2005-10-21 Thread Maurice Yarrow
n on the incoming request. They can run on include() and forward() to but you need to see configure that in web.xml. If you are renaming the servlet path - you can't call chain.doFilter() and get the results you expect. YOu need to get a new RequestDistpatcher for the location your rewriting

Re: hacking the tomcat DefaultServlet

2005-10-21 Thread Maurice Yarrow
ask.) Maurice Yarrow Tim Funk wrote: I think this should work in your own web.xml: MyFilter default -Tim Maurice Yarrow wrote: Tim So, my question is: can I request that a filter be applied to all static page requests that are going to DefaultServlet? Or is this do

Re: hacking the tomcat DefaultServlet

2005-10-18 Thread Maurice Yarrow
Dispatcher(request, response); rd.forward(request, response); } else { filterChain.doFilter(request, response); } } -Tim Maurice Yarrow wrote: Hello tomcat users I have hesitated a while before sending up this question, for the presumably obvious reason that hacking the tomcat DefaultSe

hacking the tomcat DefaultServlet

2005-10-17 Thread Maurice Yarrow
ore tomcat capability for security reasons, I would rather resolve this in my web app. So, actually, my simple question, really, is: Does anyone who has done this kind of thing have any experiences that they would care to share? Maur