RE: app roll out.

2002-12-17 Thread Cox, Charlie
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

Re: app roll out.

2002-12-17 Thread Ben Ricker
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

Re: app roll out.

2002-12-17 Thread Ben Ricker
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

Re: app roll out.

2002-12-17 Thread Alexander Wallace
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,

app roll out.

2002-12-16 Thread Alexander Wallace
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

Re: app roll out.

2002-12-16 Thread J. Norment
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

Re: app roll out.

2002-12-16 Thread Alexander Wallace
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,

Re: app roll out.

2002-12-16 Thread Ben Ricker
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

Re: app roll out.

2002-12-16 Thread David Kavanagh
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

Re: app roll out.

2002-12-16 Thread 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

Re: app roll out.

2002-12-16 Thread Alexander Wallace
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

RE: app roll out.

2002-12-16 Thread James Higginbotham
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

Re: app roll out.

2002-12-16 Thread 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 in my session

Re: app roll out.

2002-12-16 Thread Alexander Wallace
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

Re: app roll out.

2002-12-16 Thread Alexander Wallace
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

Re: app roll out.

2002-12-16 Thread Joseph Shraibman
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