tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject RE: mod_jk
Date Thu, 31 Jul 2003 14:38:45 GMT
As you mentioned DirectoryIndex index.jsp has no effect.

When i use the url
"http://192.168.168.45/rtizon" i get the same old page not found error

If I change
JkMount /rtizon loadbalancer to
JkMount /rtizon/ loadbalancer it workes - ie

"http://192.168.168.45/rtizon" completes with "/index.jsp and displays the
correct page
and
"http://192.168.168.45/rtizon/" workes the same way.

I guess you have to add the final / in the JkMount definition to ensure that
mod_jk thinks it is a directory you are asking for.

Thanks

-----Original Message-----
From: John Turner [mailto:tomcat-user@johnturner.com]
Sent: Thursday, July 31, 2003 7:24 AM
To: Tomcat Users List
Subject: Re: mod_jk



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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message