Turner, John wrote:
That's pretty much the solution...this has come up before.
By the time JK gets involved, Apache is just about done with the URL...it
doesn't perform any rewriting, etc. it's just looking for a match.
But in my understanding first of all when Apache is requested to process
. For me, at this time, it's just easier to stick an
index.html file in there with a refresh of 0.
John
-Original Message-
From: Veniamin Fichin [mailto:3ca28f66;mail.ru]
Sent: Thursday, November 14, 2002 3:31 AM
To: Tomcat Users List
Subject: Re: Apache Index page jsp and sessionid
Yea, I'm more comfortable at this point just adding the meta redirect.
Thanks for all the suggestions though!
C
-Original Message-
From: Turner, John [mailto:JTurner;AAS.com]
Sent: Thursday, November 14, 2002 8:22 AM
To: 'Tomcat Users List'
Subject: RE: Apache Index page jsp
/tomcat/webapps/appname
Andoni.
- Original Message -
From: Chad Cannell [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 14, 2002 2:08 PM
Subject: RE: Apache Index page jsp and sessionid with JKMount *.jsp
Yea, I'm more comfortable at this point just
I have DirectoryIndex set to index.jsp. My Apache has mod_dir.
Calling a directory mapped to Tomcat (such as /myApp) with
http://localhost/myApp doesn't return anything, definitely not
index.jsp.
This is on 4.0.4 and 4.1.12.
One problem is that for this to work is that Apache has to see an
on the end.
Perhaps putting the JkMounts before the Directory tag would change the
behavior.
John
-Original Message-
From: David Wall [mailto:d.wall;computer.org]
Sent: Thursday, November 14, 2002 2:03 PM
To: Tomcat Users List
Subject: Re: Apache Index page jsp and sessionid
I don't think that's the issue. My httpd.conf has the following, inside a
VirtualHost tag, for the url http://virtualhost/myApp:
Directory /usr/local/jakarta-tomcat-4.1.12/webapps/myApp
Options Indexes FollowSymLinks
DirectoryIndex index.jsp index.html index.htm
/Directory
That's pretty much the solution...this has come up before.
By the time JK gets involved, Apache is just about done with the URL...it
doesn't perform any rewriting, etc. it's just looking for a match.
The elegant solution is probably using mod_rewrite to rewrite requests
ending in / to
Use mod_dir in Apache. It is standard.
add this directive in you apache conf
DirectoryIndex index.jsp index.php index.html index.htm
options are listed in order of preference.
the directive can go in the main conf or in a Vitual Host Container.
See the apache docs for more detail.
, 2002 4:23 PM
To: Tomcat Users List
Subject: Re: Apache Index page jsp and sessionid with JKMount *.jsp
Use mod_dir in Apache. It is standard.
add this directive in you apache conf
DirectoryIndex index.jsp index.php index.html index.htm
options are listed in order of preference
I used Proxy and ReverseProxy on Apache.
On tomcat, I specified the jsp in the welcome of web.xml
At 12:44 PM 11/13/02, you wrote:
I am trying to set Apache's index file to index.jsp. It is not working.
--
To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org
For
11 matches
Mail list logo