Re: automatically serve index.jsp

2002-08-12 Thread Steve Prior

You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and 
jdk1.4.0_01.  I've posted previously about apache giving a directory listing instead 
of returning index.jsp.  The only way I've been able to get around this problem is 
editing the workers2.properties file to include a mapping to the whole webapp...
 
 
 - workers2.properties (snippet) ---
 [uri:/diary/*]
 info=Map the whole webapp
 ---
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet) 
 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 
 
 
 The question I have is, because of mapping the whole webapp in the 
workers2.properties file, will that basically override apache serving static content? 
 I assuming it would  but I don't have the time to go digging around in the 
connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan

...

Yes I did.  In fact it was the first thing I tried.  I also tried getting rid of the 
AddOutputFilter snippet of the Directory tag thinking it was preventing apache 
from loading the jsp page.   that didn't work either.

mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and 
jdk1.4.0_01.  I've posted previously about apache giving a directory listing instead 
of returning index.jsp.  The only way I've been able to get around this problem is 
editing the workers2.properties file to include a mapping to the whole webapp...
 
 
 - workers2.properties (snippet) ---
 [uri:/diary/*]
 info=Map the whole webapp
 ---
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet) 
 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 
 
 
 The question I have is, because of mapping the whole webapp in the 
workers2.properties file, will that basically override apache serving static content? 
 I assuming it would  but I don't have the time to go digging around in the 
connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan

...

having this snippet workers2.properties also works

- workers2.properties (snippet) ---
 [uri:/diary/]
 info=Map the whole webapp
---


mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and 
jdk1.4.0_01.  I've posted previously about apache giving a directory listing instead 
of returning index.jsp.  The only way I've been able to get around this problem is 
editing the workers2.properties file to include a mapping to the whole webapp...
 
 
 - workers2.properties (snippet) ---
 [uri:/diary/*]
 info=Map the whole webapp
 ---
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet) 
 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 
 
 
 The question I have is, because of mapping the whole webapp in the 
workers2.properties file, will that basically override apache serving static content? 
 I assuming it would  but I don't have the time to go digging around in the 
connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Subir Sengupta

Put this in your web.xml

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

Subir

-Original Message-
From: Michael Remijan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp


...

having this snippet workers2.properties also works

- workers2.properties (snippet) ---
 [uri:/diary/]
 info=Map the whole webapp
---


mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and
jdk1.4.0_01.  I've posted previously about apache giving a directory listing
instead of returning index.jsp.  The only way I've been able to get around
this problem is editing the workers2.properties file to include a mapping to
the whole webapp...
 
 
 - workers2.properties (snippet)
---
 [uri:/diary/*]
 info=Map the whole webapp

---
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet)

 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory


 
 
 The question I have is, because of mapping the whole webapp in the
workers2.properties file, will that basically override apache serving static
content?  I assuming it would  but I don't have the time to go digging
around in the connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan

...

Nope, that does work either.  I've been using tomcat for a while so I've already tried 
the most of those kinds of things.

It looks to me like the mappings in the workers2.properties file is looked at first.  
If a matching is found, it is forwarded to tomcat.  If not, it goes to apache.  Since 
I have directory browsing for that directory off and no index.html I get apache's 
standard error message for not being able to see that file.  What I want apache to do 
is translate http://localhost/diary/ into http://localhost/diary/index.jsp.  can I do 
this with a redirect?

mike/


-Original Message-
From: Subir Sengupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 1:24 PM
To: 'Tomcat Users List'
Subject: RE: automatically serve index.jsp


Put this in your web.xml

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

Subir

-Original Message-
From: Michael Remijan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp


...

having this snippet workers2.properties also works

- workers2.properties (snippet) ---
 [uri:/diary/]
 info=Map the whole webapp
---


mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and
jdk1.4.0_01.  I've posted previously about apache giving a directory listing
instead of returning index.jsp.  The only way I've been able to get around
this problem is editing the workers2.properties file to include a mapping to
the whole webapp...
 
 
 - workers2.properties (snippet)
---
 [uri:/diary/*]
 info=Map the whole webapp

---
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet)

 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory


 
 
 The question I have is, because of mapping the whole webapp in the
workers2.properties file, will that basically override apache serving static
content?  I assuming it would  but I don't have the time to go digging
around in the connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread rsequeira


Add index.jsp in the DirectoryIndex statement of Apache. Also check
your JkMount statements. Apache needs to forward all jsps to Tomcat.

RS



   
 
  Michael Remijan
 
  Michael.Remijan@sTo:   Tomcat Users List  
 
  olocup.com[EMAIL PROTECTED]  
 
cc:
 
  08/12/02 02:03 PM Subject:  RE: automatically serve 
index.jsp 
  Please respond to
 
  Tomcat Users
 
  List
 
   
 
   
 




...

Nope, that does work either.  I've been using tomcat for a while so I've
already tried the most of those kinds of things.

It looks to me like the mappings in the workers2.properties file is looked
at first.  If a matching is found, it is forwarded to tomcat.  If not, it
goes to apache.  Since I have directory browsing for that directory off and
no index.html I get apache's standard error message for not being able to
see that file.  What I want apache to do is translate
http://localhost/diary/ into http://localhost/diary/index.jsp.  can I do
this with a redirect?

mike/


-Original Message-
From: Subir Sengupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 1:24 PM
To: 'Tomcat Users List'
Subject: RE: automatically serve index.jsp


Put this in your web.xml

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

Subir

-Original Message-
From: Michael Remijan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp


...

having this snippet workers2.properties also works

- workers2.properties (snippet) ---
 [uri:/diary/]
 info=Map the whole webapp
---


mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,

 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and
jdk1.4.0_01.  I've posted previously about apache giving a directory
listing
instead of returning index.jsp.  The only way I've been able to get around
this problem is editing the workers2.properties file to include a mapping
to
the whole webapp...


 - workers2.properties (snippet)
---
 [uri:/diary/*]
 info=Map the whole webapp

---



 I have an alias and directory in httpd.conf set up as follows

 - httpd.conf (snippet)

 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary

 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory





 The question I have is, because of mapping the whole webapp in the
workers2.properties file, will that basically override apache serving
static
content?  I assuming it would  but I don't have the time to go digging
around in the connector's source.


 thanks,
 mike/


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL

Re: automatically serve index.jsp

2002-08-12 Thread Michael Locasto

Mike,

I think there was discussion on tomcat-dev about this issue (with jk2)
recently (~2/3 weeks ago)... there should also be a bug report in
bugzilla. Try searching both those archives.

Of course, it's been a while and I wasn't really paying attention to the
conversation because it didn't impact my use, so this may be a bit of a
red herring. I hope it isn't :)

http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]
che.orgmsgId=404644

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10789

Good luck,
Michael



- Original Message -
From: Michael Remijan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 12, 2002 3:03 PM
Subject: RE: automatically serve index.jsp


 ...

 Nope, that does work either.  I've been using tomcat for a while so I've
already tried the most of those kinds of things.

 It looks to me like the mappings in the workers2.properties file is
looked at first.  If a matching is found, it is forwarded to tomcat.  If
not, it goes to apache.  Since I have directory browsing for that
directory off and no index.html I get apache's standard error message for
not being able to see that file.  What I want apache to do is translate
http://localhost/diary/ into http://localhost/diary/index.jsp.  can I do
this with a redirect?

 mike/


 -Original Message-
 From: Subir Sengupta [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 12, 2002 1:24 PM
 To: 'Tomcat Users List'
 Subject: RE: automatically serve index.jsp


 Put this in your web.xml

   welcome-file-list
 welcome-fileindex.jsp/welcome-file
   /welcome-file-list

 Subir

 -Original Message-
 From: Michael Remijan [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 12, 2002 11:02 AM
 To: Tomcat Users List
 Subject: RE: automatically serve index.jsp


 ...

 having this snippet workers2.properties also works

 - workers2.properties
(snippet) ---
  [uri:/diary/]
  info=Map the whole webapp
 
---


 mike/

 -Original Message-
 From: Steve Prior [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 12, 2002 12:53 PM
 To: Tomcat Users List
 Subject: Re: automatically serve index.jsp


 You're a little ahead of me in doing this, but did you try adding
 index.jsp to a DirectoryIndex directive in Apache?

 This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

 Steve

 Michael Remijan wrote:
  hi all,
 
  I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2
and
 jdk1.4.0_01.  I've posted previously about apache giving a directory
listing
 instead of returning index.jsp.  The only way I've been able to get
around
 this problem is editing the workers2.properties file to include a
mapping to
 the whole webapp...
 
 
  - workers2.properties (snippet)
 ---
  [uri:/diary/*]
  info=Map the whole webapp
 
 
---
 
 
 
  I have an alias and directory in httpd.conf set up as follows
 
  - httpd.conf (snippet)
 
  ##
  ## diary webapp
  ##
  Alias /diary
C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
  Directory
C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
  Options FollowSymLinks MultiViews IncludesNoExec
  AddOutputFilter Includes html htm gif jpeg jpg
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
 
 

 
 
  The question I have is, because of mapping the whole webapp in the
 workers2.properties file, will that basically override apache serving
static
 content?  I assuming it would  but I don't have the time to go digging
 around in the connector's source.
 
 
  thanks,
  mike/
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Michael Remijan

...

Nope, I've tried that too.  and I'm using mod_jk2 so the JkMount doesn't apply


mike/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 2:19 PM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp



Add index.jsp in the DirectoryIndex statement of Apache. Also check
your JkMount statements. Apache needs to forward all jsps to Tomcat.

RS



   
 
  Michael Remijan
 
  Michael.Remijan@sTo:   Tomcat Users List  
 
  olocup.com[EMAIL PROTECTED]  
 
cc:
 
  08/12/02 02:03 PM Subject:  RE: automatically serve 
index.jsp 
  Please respond to
 
  Tomcat Users
 
  List
 
   
 
   
 




...

Nope, that does work either.  I've been using tomcat for a while so I've
already tried the most of those kinds of things.

It looks to me like the mappings in the workers2.properties file is looked
at first.  If a matching is found, it is forwarded to tomcat.  If not, it
goes to apache.  Since I have directory browsing for that directory off and
no index.html I get apache's standard error message for not being able to
see that file.  What I want apache to do is translate
http://localhost/diary/ into http://localhost/diary/index.jsp.  can I do
this with a redirect?

mike/


-Original Message-
From: Subir Sengupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 1:24 PM
To: 'Tomcat Users List'
Subject: RE: automatically serve index.jsp


Put this in your web.xml

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

Subir

-Original Message-
From: Michael Remijan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 11:02 AM
To: Tomcat Users List
Subject: RE: automatically serve index.jsp


...

having this snippet workers2.properties also works

- workers2.properties (snippet) ---
 [uri:/diary/]
 info=Map the whole webapp
---


mike/

-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 12:53 PM
To: Tomcat Users List
Subject: Re: automatically serve index.jsp


You're a little ahead of me in doing this, but did you try adding
index.jsp to a DirectoryIndex directive in Apache?

This was very obious to do in Apache 1.3, not sure as obvious in 2.0.

Steve

Michael Remijan wrote:
 hi all,

 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with mod_jk2 and
jdk1.4.0_01.  I've posted previously about apache giving a directory
listing
instead of returning index.jsp.  The only way I've been able to get around
this problem is editing the workers2.properties file to include a mapping
to
the whole webapp...


 - workers2.properties (snippet)
---
 [uri:/diary/*]
 info=Map the whole webapp

---



 I have an alias and directory in httpd.conf set up as follows

 - httpd.conf (snippet)

 ##
 ## diary webapp
 ##
 Alias /diary C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary

 Directory C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory





 The question I have is, because of mapping the whole webapp in the
workers2.properties file, will that basically override apache serving
static
content?  I assuming it would  but I don't have the time to go digging
around in the connector's source.


 thanks,
 mike/


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED

RE: automatically serve index.jsp

2002-08-12 Thread Andrew

It's a known bug, and fixed.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10789

The next build will contain the fix. (build is July 19,  bug fixed July
20)

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/


- Andrew

 -Original Message-
 From: Michael Remijan [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, August 12, 2002 1:45 PM
 To: Tomcat Users List
 Subject: automatically serve index.jsp
 
 
 hi all,
 
 I'm currently working on Apache 2.0.39 - tomcat-4.1.8 with 
 mod_jk2 and jdk1.4.0_01.  I've posted previously about apache 
 giving a directory listing instead of returning index.jsp.  
 The only way I've been able to get around this problem is 
 editing the workers2.properties file to include a mapping to 
 the whole webapp...
 
 
 - workers2.properties (snippet) 
 ---
 [uri:/diary/*]
 info=Map the whole webapp
 --
 -
 
 
 
 I have an alias and directory in httpd.conf set up as follows
 
 - httpd.conf (snippet) 
 
 ##
 ## diary webapp
 ##
 Alias /diary 
 C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 
 Directory 
 C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary
 Options FollowSymLinks MultiViews IncludesNoExec
 AddOutputFilter Includes html htm gif jpeg jpg
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 --
 --
 
 
 The question I have is, because of mapping the whole webapp 
 in the workers2.properties file, will that basically override 
 apache serving static content?  I assuming it would  but I 
 don't have the time to go digging around in the connector's source.
 
 
 thanks,
 mike/
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: automatically serve index.jsp

2002-08-12 Thread Michele Neylon -Blacknight Solutions

At 14.19 12/08/2002 -0500, you wrote:
I used a .htaccess for this on Apache with Tomcat 3*
The .htaccess :
DirectoryIndex index.jsp


Mr. Michele Neylon
Blacknight Solutions - affordable linux hosting
http://www.blacknightsolutions.com/


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]