you could just define your context path= in server.xml. this should give
you what you want.
Charlie
-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 7:40 PM
To: Tomcat Users List
Subject: Re: app roll out.
Adding a line like
Here is the line that workd for me in Apache 1.3.27 Are you using Apache
2.x?
Redirect temp /index.html http://main.wellinx.com/servlets/Logon?STATE=0USER=doctor
The '/' by itself may not work. When I set it up, I had to include the
'index.html'. But I do not remember because I set it up so long
On Mon, 2002-12-16 at 18:51, Alexander Wallace wrote:
The line:
RedirectMatch ^/$ http://mysite/theContext
did the trick.
Now I have to find out how to make apache call index.jsp automatically if no
page is requested. If i use http://localhost:8080/myapp tomcat calls
index.jsp
My guess is that the solution with apache works becouse even if apache switces
to https, it still talks to tomcat via plain http, and since the objects are
in tomcat's session, and tomcat doesn't need to switch to https, it will not
create a new session.
On Monday 16 December 2002 20:41,
Hi there. Almost ready to deploy my app to test in real world. I'm using
apache + tomcat (using mod_jk). My app name is wxyz, and I have purchased
the domain name i want it to be under. I want to call www.mydomain.com and
get my app's index. instead of typing the www.mydomain.com/wxyz.
How
name the starting page of your app index.jsp ?
On Mon, 16 Dec 2002 15:28:39 -0600, Alexander Wallace wrote:
Hi there. Almost ready to deploy my app to test in real world. I'm
using
apache + tomcat (using mod_jk). My app name is wxyz, and I have
purchased
the domain name i want it to be under. I
I have an index.jsp, and it works if i call www.mydomain.com/myapp, but i want
to just call www.mydomain.com... I don't even knwo how to reffer to whay i
need, it may be virtual domain?
On Monday 16 December 2002 15:33, J. Norment wrote:
name the starting page of your app index.jsp ?
On Mon,
This would be done by Apache (though it could possibly be done by
Tomcat; I use Apache). You can do it one of two ways:
1) Use mod_rewrite to rewrite /index.html to /path-to-context-name.
Not sure on the mechanics of this. Try the Apache list for pointers, or
any number of tutotials on
Well, if you were just running tomcat, I'd say put your app in
webapps/ROOT, but I'm not sure how to configure mod_jk to redirect all
stuff from the server root to tomcat. If you are directing everything to
tomcat, just bag apache altogether!
David
On 12/16/2002 4:28 PM, Alexander Wallace
Thankyou very much, option 2 is probably what i'll use.
On Monday 16 December 2002 15:42, Ben Ricker wrote:
This would be done by Apache (though it could possibly be done by
Tomcat; I use Apache). You can do it one of two ways:
1) Use mod_rewrite to rewrite /index.html to
I'm redirecting everything to tomcat, but part of my app requires ssl, and
although tomcat can handle ssl, when i tryed it, all objects in my session
that was started not using ssl, were not accessible once swithced to ssl. I
don't know if this is the right behavior or if there is a way around
Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 4:10 PM
To: Tomcat Users List
Subject: Re: app roll out.
I'm redirecting everything to tomcat, but part of my app
requires ssl, and
although tomcat can handle ssl, when i tryed it, all objects
[mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 4:10 PM
To: Tomcat Users List
Subject: Re: app roll out.
I'm redirecting everything to tomcat, but part of my app
requires ssl, and
although tomcat can handle ssl, when i tryed it, all objects
in my session
Adding a line like the one you suggest doesn't seem to work... People at
apache's irc said it should be something like:
Redirect / http://www.domain.com/context
But that only seems to create infinite redirects since it redirects to the
same domain name.
The docs say that redirect takes a URI
The line:
RedirectMatch ^/$ http://mysite/theContext
did the trick.
Now I have to find out how to make apache call index.jsp automatically if no
page is requested. If i use http://localhost:8080/myapp tomcat calls
index.jsp automatically, but when going through apache
But that doesn't explain why apache would be any better at that than tomcat.
James Higginbotham wrote:
That's probably the case if you were using cookies to track sessions.
The cookie spec mentions that the port is also part of the scope of a
cookie, so when you went from www.foo.com:80 to
16 matches
Mail list logo