RE: URL Rewriting on a uer by user basis

2004-08-23 Thread Shapira, Yoav
Hi, This is not hard to do with a Filter, as long as your authentication is done before this Filter (possibly with another one). Your chain would then look like: - Authentication filter (mapped to /*, does nothing if request already authenticated) - Rewrite filter (mapped to /*, checks credential

Re: URL Rewriting

2004-05-21 Thread Tim Funk
I think the struts list can probably answer this better than this list. -Tim Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this: /n

RE: URL Rewriting

2004-05-21 Thread Shapira, Yoav
Hi, IMHO (literally) this is not that good an idea in that your solution will be incur more costs (complexity, customization, long-term maintenance) than benefits (??). Yoav Shapira Millennium Research Informatics >-Original Message- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mo

Re: URL-rewriting

2003-12-29 Thread Bill Barker
se who can contribute? Regards Mattias Bogeblad -Ursprungligt meddelande- Från: Shapira, Yoav [mailto:[EMAIL PROTECTED] Skickat: den 29 december 2003 19:13 Till: Tomcat Users List Ämne: RE: URL-rewriting Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you o

RE: URL-rewriting

2003-12-29 Thread Shapira, Yoav
Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter (a javax.servlet.Filter filter). Map the filter /* and code your redirection rules in java. Actually, you might want to look at the balancer webapp (tomcat 5) which has a Str

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. Feel free to submit a patch :) -chris ---

Re: URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote: Mufaddal, Are there som

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Are there some configuration settings in Tomcat 4.1.x that can be set in say the server.xml or web.xml that can be used ? Nope. Tomcat won't look through your responses for things that look like URLs and append all the things you need (like sessison id, etc.). However, if you are usin

Re: URL rewriting

2002-05-06 Thread Jeffrey Bonevich
You can use mod_rewrite and mod_proxy to do just this (at least if you are using apache). See http://www.engelschall.com/pw/apache/rewriteguide/ jeff Chris Stephens wrote: > Hi folks, > > Apologies if this is a newbie question but I've looked around a fair bit > (inc. the archives of this l

RE: Url Rewriting in Tomcat4.0

2002-02-11 Thread Coetmeur, Alain
look about the Valves... http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/org/apache /catalina/Valve.html one limitation in using Valves is that one cannot change the content of a request is it has already been us

Re: Url Rewriting in Tomcat4.0

2002-02-11 Thread Paul Downs
--On 11 February 2002 16:47 +0530 Jiger Java <[EMAIL PROTECTED]> wrote: Hi, > http://www.server.com/reseller comes in then the server will > execute/get/map/etc etc & the final url will become as > http://server.com/servlet/LoginServlet?role=reseller > which is then the named servlet be execut

Re: URL-rewriting for FORMS

2001-11-24 Thread Craig R. McClanahan
On Thu, 22 Nov 2001, Raphael Mack wrote: > Date: Thu, 22 Nov 2001 23:17:46 +0100 > From: Raphael Mack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: URL-rewriting for FORMS > > Hi, > > I use URL-rewriting for sessionm

AW: Re : URL-rewriting for FORMS

2001-11-23 Thread Ralph Einfeldt
Because the sevlet spec says to do so. The reason why they defined it this way is unknown to me. > -Ursprüngliche Nachricht- > Von: Raphael Mack [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 23. November 2001 12:29 > An: Tomcat Users List > Betreff: Re: Re : URL-rewr

Re: URL-rewriting for FORMS

2001-11-23 Thread Raphael Mack
Sorry, forgot this question: if I want to pass a parameter to the "action" of the FORM, should I write: out.println(""); or out.println(""); or a ';' instead of '&' or a ';' instead of '?'? or should I insert a hidden formfield for this? Thanks, Rapha -- procreo - Webseitenentwicklung und Ind

Re: Re : URL-rewriting for FORMS

2001-11-23 Thread Raphael Mack
Thanks. Am Freitag, 23. November 2001 08:48 schrieben Sie: > if you want this encoded with your session > > you will have to: > out.println(" response.encodeURL("./post-data-servlet") + "\">"); > the output will be:: > is there a special reason why encodeURL appends ";jsessionid..." and not

Re : URL-rewriting for FORMS

2001-11-23 Thread tomcat
-- 2001 Nov 23 - 08:57 Raphael Mack <[EMAIL PROTECTED]> -- > >Hi, > >I use URL-rewriting for sessionmanagement. What's best to include the >sessio

Re: URL rewriting

2001-08-09 Thread Bo Xu
YueMa wrote: > Hi there, > How can I config Tomcat to use URL rewriting as session tracking > mechanism? > > Thanks! good email for you :-) http://mikal.org/interests/java/tomcat/archive/view?mesg=35357 http://mikal.org/interests/java/tomcat/archive/view?mesg=35358 Bo Aug.09, 2001

Re: URL rewriting

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, YueMa wrote: > Hi there, > How can I config Tomcat to use URL rewriting as session tracking > mechanism? > URL rewriting is not something a servlet container does for you -- it's something you have to do in your HTML output yourself. For example, in a JSP page if you crea

Re: URL rewriting, cookies and form based auth

2001-07-23 Thread Craig R. McClanahan
Because form-based login requires the use of sessions, you *must* use URL rewriting to pass the session id when your clients do not support cookies. In practical terms, that means your form-based login page should be a JSP (rather than static HTML) with a element like this: If your client rea

Re: URL rewriting ad nauseum

2001-06-26 Thread Ellis Teer
What about using mod_session? Use it to turn off cookie tracking and then insert session id's into the resource URL/list of environment variables? You could then log the session id out of the environment variables or read it directly as a GET request parameter in Tomcat depending on how you are

Re: URL rewriting ad nauseum

2001-06-26 Thread Tim O'Neil
Session tracking without cookies is a huge engineering mess. I don't quite understand what your choice of server platform has to do with it. Have you taken a look at the HttpSessionObject? Is that what you mean with the bug you mention? (I've used cookies solely, I don't know much about HttpSessio

Re: URL rewriting ignored for "/whatever" context path; broken for "/" context path

2001-05-03 Thread Ludovic Maitre
Hello, The only solution i had find is to replicate all my "url-rewrited" folder as context in Tomcat and additionnaly make a few patchs on Tomcat (and Cocoon). It seems, after reading the source code of mod_jserv (that i use), that the request form Apache to Tomcat is redirected AFTER the URI

Re: URL rewriting with Tomcat/Apache

2000-11-28 Thread Craig R. McClanahan
Graham Freeman wrote: > There seems to be something that I am missing in trying to use Tomcat with > Apache. Can anyone suggest what I should try? I am running Linux on my > machine. I have Java 1.3 installed, and it is Tomcat 3.1 I am trying to > get working with Apache 1.3.14 > Upgrade to T

RE: URL Rewriting status

2000-11-24 Thread James Morgenstein
I have had success in using URL rewriting in 3.2b8. -Original Message- From: Milan Adamovic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 3:15 PM To: [EMAIL PROTECTED] Subject: FW: URL Rewriting status What is the latest status of URL Rewriting on port 80? Has this bug