Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/1/2010 12:31 PM, Caldarale, Charles R wrote: >> From: laredotornado [mailto:laredotorn...@gmail.com] >> Subject: RE: Servlet mapping question -- way to include everythign >> EXCEPT a directory? >> >> I like

Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread André Warnier
Caldarale, Charles R wrote: From: laredotornado [mailto:laredotorn...@gmail.com] Subject: RE: Servlet mapping question -- way to include everythign EXCEPT a directory? I like your idea about specifying the DefaultServlet, but what do you mean by the "DefaultServlet" ? Tomcat&

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: RE: Servlet mapping question -- way to include everythign > EXCEPT a directory? > > I like your idea about specifying the DefaultServlet, > but what do you mean by the "DefaultServlet" ? Tomcat's

Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Hassan Schroeder
On Thu, Jul 1, 2010 at 9:24 AM, laredotornado wrote: > > I like your idea about specifying the DefaultServlet, but what do you mean by > the "DefaultServlet" ? - Dave -- Hassan Schroeder hassan.schroe...@gmail.com t

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread laredotornado
I like your idea about specifying the DefaultServlet, but what do you mean by the "DefaultServlet" ? - Dave n828cl wrote: > >> From: laredotornado [mailto:laredotorn...@gmail.com] >> Subject: Servlet mapping question -- way to include everythign EXCEPT a >> dir

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: Servlet mapping question -- way to include everythign EXCEPT a > directory? > > I don't know how to specify "not" in a mapping That's because you can't specify a "not". What you

Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread laredotornado
/play/sports/* What would I need to add to exclude directories matching "/play/sports/includes/*"? Thanks, - Dave -- View this message in context: http://old.nabble.com/Servlet-mapping-questionway-to-include-everythign-EXCEPT-a-directory--tp29046779p29046779.html Sent from

Re: Mapping question

2008-06-27 Thread Bill Barker
Yeah, I'd totally forgotten about this one. The patch for the non-default AJP Connector and the APR/AJP Connector have been committed to trunk, and proposed for back-port to 6.0.x now. Of course, as mentioned in the BZ issue, if you are using the default AJP Connector this already works. "And

Re: Mapping question

2008-06-26 Thread André Warnier
Mark H. Wood wrote: On Thu, Jun 26, 2008 at 05:23:15PM +0200, André Warnier wrote: And I presume that mod_jk does pass the information about the virtual host name, right ? It certainly appears so. I have a host with a single HTTPD in front of a single Tomcat which defines three vhosts, and

Re: Mapping question

2008-06-26 Thread Mark H. Wood
On Thu, Jun 26, 2008 at 05:23:15PM +0200, André Warnier wrote: > And I presume that mod_jk does pass the information about the virtual host > name, right ? It certainly appears so. I have a host with a single HTTPD in front of a single Tomcat which defines three vhosts, and the traffic is routed

RE: Mapping question

2008-06-26 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Mapping question > > There's an AJP attribute that appears to be relevant: There's also an outstanding bug report that might impact the scenario: https://issues.apache.org/bugzilla/show_bug.cgi?id=36155 - Chuck THIS COM

RE: Mapping question

2008-06-26 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: Mapping question > > And I presume that mod_jk does pass the information about the virtual > host name, right ? I can't say, since I don't use httpd. There's an AJP attribute that appears to be rele

Re: Mapping question

2008-06-26 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Mapping question Note that having httpd in front of Tomcat isn't really pertinent to this question. True. It's just that this is my current setup, and I got intellectually channeled by that (and

RE: Mapping question

2008-06-26 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Mapping question > > Is it possible in Tomcat to define two virtual s who would share > the same webapp directory ? I've done it, just to see that it works, but can't say I've carried out any serious tes

Mapping question

2008-06-26 Thread André Warnier
Hi. Below is a question sent to the httpd users list, as a context for my own question : Suppose I have the same front-end scenario as described below for Apache, and have one single Tomcat server behind it. Is it possible in Tomcat to define two virtual s who would share the same webapp d

RE: servlet mapping question(I believe)

2008-02-04 Thread Caldarale, Charles R
> From: Terence Kent [mailto:[EMAIL PROTECTED] > Subject: Re: servlet mapping question(I believe) > > In my case I have multiple applications in the webapps > folder, so which to name to root is ambiguous. The one to name ROOT (not root) is the one you want clients to see when th

Re: servlet mapping question(I believe)

2008-02-03 Thread Terence Kent
On Feb 3, 2008, at 10:58 AM, Konstantin Kolinko wrote: Konstanin, Thank you for your response! Below are responses to your statements... "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Why are you using such an old version of specification? Why not 2.4 or 2.5?? I think my question was m

Re: servlet mapping question(I believe)

2008-02-03 Thread Terence Kent
Mark, Thank you very much! Your suggestion worked perfectly and has given me an area to focus on. Terence. On Feb 3, 2008, at 10:51 AM, Mark Thomas wrote: Terence Kent wrote: Conclusion: My understanding from this configuration is that all requests on port 8010, that end with the extensi

Re: servlet mapping question(I believe)

2008-02-03 Thread Konstantin Kolinko
>"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> Why are you using such an old version of specification? Why not 2.4 or 2.5?? Nowadays, with tomcat 5.5 and 6.0 it is very rare (and discouraged) to configure context in server.xml. For the root application it is sufficient to name it "ROOT"

Re: servlet mapping question(I believe)

2008-02-03 Thread Mark Thomas
Terence Kent wrote: Conclusion: My understanding from this configuration is that all requests on port 8010, that end with the extension .ext should be forwarded to the servlet "mycompany". From what I've read, any paths created in the ${APP_BASE} directory should be irrelevant in this mapping

servlet mapping question(I believe)

2008-02-03 Thread Terence Kent
Hello all, I am new to tomcat and running into a problem that I am unable to resolve. I don't know all the correct vocabulary to use here, so bare with me as I attempt to describe the problem I'm running into. Here goes... In a nutshell: All requests to: dwww.mycompany.com:8010/foor/bar.

Re: KLUDGE: WebDav - mapping question?

2007-07-30 Thread Mark Thomas
Johnny Kewl wrote: >> Guys I like this so much, I couldnt wait for a patch, or possible fix. Johnny, Your patch is close but needed a few tweaks to keep the flexibility that the existing WebDAV servlet has. If you are interested you can see what changed in the commit message in the archives: http

Re: WebDav - mapping question?

2007-07-30 Thread Mark Thomas
Just to finish this thread off... The MS clients don't handle 302s at all well but this wasn't the problem in this case. Sorry for the mis-direction on my part. The default Tomcat WebDAV configuration is already set up to avoid this 302 issue. The problem in this case was that MS clients make sli

Re: KLUDGE: WebDav - mapping question?

2007-07-26 Thread Johnny Kewl
Guys I like this so much, I couldnt wait for a patch, or possible fix. The problem with the above KLUDGE is that the fix is internal to TC, and if you try incorporate it, you will find you have to pull in half of Tomcats jars to make it work. Its never a good idea to include those jars directly i

Re: WebDav - mapping question?

2007-07-25 Thread David Delbecq
pecs, so I'm thinking, why have two development > efforts? ... just wondering > > - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, July 24, 2007 1:06 PM > Subject: Re: WebDav - mapp

Re: KLUDGE: WebDav - mapping question?

2007-07-25 Thread Johnny Kewl
Guys I like this so much, I couldnt wait for a patch, or possible fix. The problem with the above KLUDGE is that the fix is internal to TC, and if you try incorporate it, you will find you have to pull in half of Tomcats jars to make it work. Its never a good idea to include those jars directly i

Re: WebDav - mapping question?

2007-07-24 Thread Mark Thomas
Johnny Kewl wrote: > Tomcat is Jakarta right? It was. It isn't any more. so I'm just wondering why you guys dont > talk about a common webdav module Because the Tomcat one is just an example written in a single Servlet, whereas Slide is a full implementation. Just look at the difference i

Re: WebDav - mapping question?

2007-07-24 Thread Johnny Kewl
esday, July 24, 2007 1:06 PM Subject: Re: WebDav - mapping question? That's strange that MS doesn't handle it. As i said, i have a slide webdav servlet mapped to /DAV/* and MS webfolder can access it throught all our company without much troubles, even without a trailing slash. (ther

Re: WebDav - mapping question?

2007-07-24 Thread David Delbecq
That's strange that MS doesn't handle it. As i said, i have a slide webdav servlet mapped to /DAV/* and MS webfolder can access it throught all our company without much troubles, even without a trailing slash. (there are slight troubles that are unrelated) Mark Thomas a écrit : > David Delbecq wrot

Re: WebDav - mapping question?

2007-07-24 Thread Johnny Kewl
Hi MARK... I managed to break the thread please see the KLUDGE: WebDav - mapping question post. I had a look at the code (just enuf to find a kludge) but what actually happens is that the WebDavServlet passes a GET onto the Default servlet. If its a /yada/ it treats that as a folder

AW: WebDav - mapping question?

2007-07-24 Thread Konstantin Breu
Re: WebDav - mapping question? David Delbecq wrote: > Tomcat should not refuse webapp/webdav if you have a mapping to > /webdav/*. It should at least dispatch to servlet mapped on /webdav/*. Tomcat doesn't reject requests of this type . For any directory resource without a trailing

Re: WebDav - mapping question?

2007-07-23 Thread Mark Thomas
David Delbecq wrote: > Tomcat should not refuse webapp/webdav if you have a mapping to > /webdav/*. It should at least dispatch to servlet mapped on /webdav/*. Tomcat doesn't reject requests of this type . For any directory resource without a trailing '/' it will do a 302 redirect and add '/'. The

KLUDGE: WebDav - mapping question?

2007-07-23 Thread Johnny Kewl
Here is "a way" to make any mappings work well with MS I include my kludge (code) if anything so the guru's can study it and see how I made MS happy with any mapping then improve on it and stick it in a future release of TC David Delbecq you hit the nail on the head and thank you.

Re: WebDav - mapping question?

2007-07-23 Thread David Delbecq
Have never used the tomcat webdav servlet. I use the slide webdav servlet. I thought i needed to correct your suppositions and mistakes in handling protocol. En l'instant précis du 23/07/07 12:31, Johnny Kewl s'exprimait en ces termes: > For future reference the WEBDAV problems between Microsof

Re: WebDav - mapping question?

2007-07-23 Thread Johnny Kewl
For future reference the WEBDAV problems between Microsoft and Tomcat seem to be as follows First thanks for pointing me to the MS patch, although like the other poster said... it didnt help, or maybe it did, but only on the MS side. MICROSOFT doesnt like the lagging folder slash

Re: AW: WebDav - mapping question?

2007-07-22 Thread Mark Thomas
Konstantin Breu wrote: > Hello Johnny, > maybe it helps to install this Web folders update (at the clients): > http://support.microsoft.com/kb/907306/en-us If you haven't tried this yet, don't bother. As far as I can tell the MS client is hopelessly broken. It used to be the case it was broken on

AW: WebDav - mapping question?

2007-07-22 Thread Konstantin Breu
: WebDav - mapping question? Hi guys, Being using FTP, thought I would give WebDav a try, but cant get it working nicely... This is the mapping for the webdav servlet, and this I can get working with IE web folders (ms webdav client) seems to work nicely. webdav /* So I thought, nice, but it

WebDav - mapping question?

2007-07-22 Thread Johnny Kewl
Hi guys, Being using FTP, thought I would give WebDav a try, but cant get it working nicely... This is the mapping for the webdav servlet, and this I can get working with IE web folders (ms webdav client) seems to work nicely. webdav /* So I thought, nice, but it overrides the default w

RE: servlet-mapping question

2005-11-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content > Subject: servlet-mapping question > > Good point, but I am not trying to adhere strictly > to the URI rfc, as it is generated by the server to > refer to the server. I don't think it matters who or

Re: servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
n Content > Subject: servlet-mapping question > > Should catch all of the following if I am not mistaken, not > just some of them right? > > http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic > http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode-$Form.topic &g

RE: servlet-mapping question

2005-11-22 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content > Subject: servlet-mapping question > > Should catch all of the following if I am not mistaken, not > just some of them right? > > http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic &g

servlet-mapping question

2005-11-22 Thread hv @ Fashion Content
I am trying to figure out a little headache I am having with the servlet-mapping portalapp *.topic Should catch all of the following if I am not mistaken, not just some of them right? http://www.domain.com/ZoA+xaeoHh6s,$EnterPromotionCode.$Form.topic http://www.domain.com/ZoA+xaeoHh6s,$EnterPr