You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wojciech Wasowicz <ww...@softgroup.net.pl> on 2000/12/16 12:08:25 UTC
How to set apache so it starts from index.jsp?
Question like in Subject.
I've tried to replace index.html with index.jsp _at_the_end_ of
httpd.conf and it doesn't work.
(I use mod_jk to connect to tomcat)
Has someone any clues?
TIA
Wojtek
RE: How to set apache so it starts from index.jsp?
Posted by "Suresh.S.V" <su...@team.indiainfo.com>.
Hi
add
DirectoryIndex index.jsp
in your tomcat.conf file.This index.jsp file should be in your apache base
directory(DocumentRoot).
Regds
Suresh
-----Original Message-----
From: Michael.Niemaz@xrce.xerox.com
[mailto:Michael.Niemaz@xrce.xerox.com]On Behalf Of mike niemaz
Sent: Thursday, February 01, 2001 8:52 AM
To: tomcat-user@jakarta.apache.org; Wojciech Wasowicz
Subject: Re: How to set apache so it starts from index.jsp?
Hi,
Could you please tell us how you solved it?
I'm having the same pb here ;-(
Thanx,
--mike
Wojciech Wasowicz wrote:
> Dave Newton wrote:
>
> > > > Question like in Subject.
> > > > I've tried to replace index.html with index.jsp _at_the_end_ of
> > > > httpd.conf and it doesn't work.
> > > > (I use mod_jk to connect to tomcat)
> > > > Has someone any clues?
> > > I mean - in the root directory of apache.
> >
> > Do you mean have Apache look for an index.jsp before anything
> > else by using the DirectoryIndex httpd.conf directive?
> >
> > If so, that's an Apache question, not Tomcat.
> >
> > Dave
>
> Yes - it is what I mean - I've sent it here bacause
> configuring apache with mod_jk.conf-auto gives
> good results in aliased subdirectory - and it gives bad
> results in apache documant root directory.
> (good result - to set index.jsp as welcome page)
>
> I've believed that is issue of communication
> between apache and tomcat.
> If not - I'm sorry, I didn't mean harasing you
> with mails which are out of subject of this list.
>
> In meantime I've solved this.
>
> regards
> Wojtek
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org
Re: How to set apache so it starts from index.jsp?
Posted by mike niemaz <ni...@xrce.xerox.com>.
Hi,
Could you please tell us how you solved it?
I'm having the same pb here ;-(
Thanx,
--mike
Wojciech Wasowicz wrote:
> Dave Newton wrote:
>
> > > > Question like in Subject.
> > > > I've tried to replace index.html with index.jsp _at_the_end_ of
> > > > httpd.conf and it doesn't work.
> > > > (I use mod_jk to connect to tomcat)
> > > > Has someone any clues?
> > > I mean - in the root directory of apache.
> >
> > Do you mean have Apache look for an index.jsp before anything
> > else by using the DirectoryIndex httpd.conf directive?
> >
> > If so, that's an Apache question, not Tomcat.
> >
> > Dave
>
> Yes - it is what I mean - I've sent it here bacause
> configuring apache with mod_jk.conf-auto gives
> good results in aliased subdirectory - and it gives bad
> results in apache documant root directory.
> (good result - to set index.jsp as welcome page)
>
> I've believed that is issue of communication
> between apache and tomcat.
> If not - I'm sorry, I didn't mean harasing you
> with mails which are out of subject of this list.
>
> In meantime I've solved this.
>
> regards
> Wojtek
session sharing with Tomcat-Apache-SSL
Posted by Olivier Tourdes <ot...@itipi.com>.
Hi,
I use apache 1.3.14 + SSL and tomcat 3.2.1 (ajp12 and mod_jk).
I use a servlet to show my pages. When I switch from http to https, a
new session is created ! I have a session for http and a session for
https...How can I share session between them (I use virtualHost
_default_:443 in httpd.conf to define https)
Thanks
====================================================================
Olivier Tourdes
E-mail: otourdes@itipi.com
Site: http://www.i-tipi.fr
====================================================================
Re: How to set apache so it starts from index.jsp?
Posted by Wojciech Wasowicz <ww...@softgroup.net.pl>.
Dave Newton wrote:
> > > Question like in Subject.
> > > I've tried to replace index.html with index.jsp _at_the_end_ of
> > > httpd.conf and it doesn't work.
> > > (I use mod_jk to connect to tomcat)
> > > Has someone any clues?
> > I mean - in the root directory of apache.
>
> Do you mean have Apache look for an index.jsp before anything
> else by using the DirectoryIndex httpd.conf directive?
>
> If so, that's an Apache question, not Tomcat.
>
> Dave
Yes - it is what I mean - I've sent it here bacause
configuring apache with mod_jk.conf-auto gives
good results in aliased subdirectory - and it gives bad
results in apache documant root directory.
(good result - to set index.jsp as welcome page)
I've believed that is issue of communication
between apache and tomcat.
If not - I'm sorry, I didn't mean harasing you
with mails which are out of subject of this list.
In meantime I've solved this.
regards
Wojtek
RE: How to set apache so it starts from index.jsp?
Posted by Dave Newton <da...@solaraccess.com>.
> > Question like in Subject.
> > I've tried to replace index.html with index.jsp _at_the_end_ of
> > httpd.conf and it doesn't work.
> > (I use mod_jk to connect to tomcat)
> > Has someone any clues?
> I mean - in the root directory of apache.
Do you mean have Apache look for an index.jsp before anything
else by using the DirectoryIndex httpd.conf directive?
If so, that's an Apache question, not Tomcat.
Dave
Re: How to set apache so it starts from index.jsp?
Posted by Wojciech Wasowicz <ww...@softgroup.net.pl>.
Wojciech Wasowicz wrote:
> Question like in Subject.
> I've tried to replace index.html with index.jsp _at_the_end_ of
> httpd.conf and it doesn't work.
> (I use mod_jk to connect to tomcat)
> Has someone any clues?
>
> TIA
> Wojtek
I mean - in the root directory of apache.
WW