You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/04/02 22:05:59 UTC

JkMount mapping question

Is there anyway to have JkMount map an apache url to a tomcat url
with the following jist:

apache request -> tomcat request

/servlet/myapp -> /myapp

The reason I say this is because I am hogging up all the directory
paths from apache so I have no paths left to run other applications
(such as php, perl).  I guess I could use a virtualhost

servlet.mydomain.com

but I was just curious if there was a way to do an "alias" type
mapping for the worker mount.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"If you are going to play the game of trial and error, 
don't be surprised when the results are revealing. -- me"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


Re: JkMount mapping question

Posted by Dan Allen <da...@mojavelinux.com>.
Bill Barker (wbarker@wilshire.com) wrote:

> Without more info, I'd probably use mod_rewrite for this:
>   RewriteRule ^/servlet/(.*) /$1

Excellent, I'm going to look into that!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
'One Microsoft Way' is more than just an address.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


Re: JkMount mapping question

Posted by Bill Barker <wb...@wilshire.com>.
Without more info, I'd probably use mod_rewrite for this:
  RewriteRule ^/servlet/(.*) /$1

"Dan Allen" <da...@mojavelinux.com> wrote in message
news:20030402140559.A22596@mojavelinux.com...
> Is there anyway to have JkMount map an apache url to a tomcat url
> with the following jist:
>
> apache request -> tomcat request
>
> /servlet/myapp -> /myapp
>
> The reason I say this is because I am hogging up all the directory
> paths from apache so I have no paths left to run other applications
> (such as php, perl).  I guess I could use a virtualhost
>
> servlet.mydomain.com
>
> but I was just curious if there was a way to do an "alias" type
> mapping for the worker mount.
>
> Dan
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <da...@mojavelinux.com>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "If you are going to play the game of trial and error,
> don't be surprised when the results are revealing. -- me"
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -




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