What about http://host/context without the trailing "/"?


John

Eric J. Pinnell wrote:

Hi,

Just an FYI...

I'm looking our JK2 config now and DirectoryIndex is not set with
index.jsp.  The only thing that I can find is the welcome-file is
index.jsp.

The application pulls up index.jsp by default when you go to
http://host/context/

I don't see any redirects as this application passes everything back to
tomcat.

-e

On Thu, 31 Jul 2003, John Turner wrote:


This came up yesterday. According to one poster, putting

DirectoryIndex index.jsp

in your httpd.conf VirtualHost block would cause Apache to translate
"http://192.168.168.45/rtizon"; into
"http://192.168.168.45/rtizon/index.jsp";.

However, it doesn't work at all for me, never has, and I have always
understood it to be a limitation of using mod_jk (and possibly mod_jk2).

What happens when you try "http://192.168.168.45/rtizon/";?

John

Ray Madigan wrote:


I have mod_jk working with two workers and a loadbalancer.

when i use
http://192.168.168.45:8080/rtizon the browser completes the line with
/index.jsp.

Same is true with the other worker and the correct page comes up

when i use
http://192.168.168.45/rtizon i get a page not found error?

and when I complete the url with
http://192.168.168.45/rtizon/index.jsp i get the correct page

My JkMount entries are

JkMount /*.jsp loadbalancer
JkMount /rtizon loadbalancer
JkMount /rtizon/*.jsp loadbalancer

Is this the expected behaviour or should apache complete the url
as tomcat does cause it is making the call to tomcat?

And, do I need the second JkMount /rtizon loadbalancer?

Thanks


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




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




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




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



Reply via email to